#include <SonicDispatcherPseudoAsync.h>
Public Member Functions | |
void | dispatch (edm::WaitingTaskWithArenaHolder holder) override |
SonicDispatcherPseudoAsync (SonicClientBase *client) | |
~SonicDispatcherPseudoAsync () override | |
Public Member Functions inherited from SonicDispatcher | |
virtual void | dispatch () |
SonicDispatcher (SonicClientBase *client) | |
virtual | ~SonicDispatcher ()=default |
Private Member Functions | |
void | waitForNext () |
Private Attributes | |
std::condition_variable | cond_ |
bool | hasCall_ |
std::mutex | mutex_ |
std::atomic< bool > | stop_ |
std::unique_ptr< std::thread > | thread_ |
Additional Inherited Members | |
Protected Attributes inherited from SonicDispatcher | |
SonicClientBase * | client_ |
Definition at line 16 of file SonicDispatcherPseudoAsync.h.
SonicDispatcherPseudoAsync::SonicDispatcherPseudoAsync | ( | SonicClientBase * | client | ) |
Definition at line 5 of file SonicDispatcherPseudoAsync.cc.
References thread_, and waitForNext().
|
override |
Definition at line 10 of file SonicDispatcherPseudoAsync.cc.
References CMS_SA_ALLOW, cond_, stop_, and thread_.
|
overridevirtual |
Reimplemented from SonicDispatcher.
Definition at line 23 of file SonicDispatcherPseudoAsync.cc.
References SonicDispatcher::client_, cond_, hasCall_, eostools::move(), mutex_, and SonicClientBase::start().
|
private |
Definition at line 35 of file SonicDispatcherPseudoAsync.cc.
References SonicDispatcher::client_, cond_, SonicClientBase::evaluate(), hasCall_, mutex_, or, and stop_.
Referenced by SonicDispatcherPseudoAsync().
|
private |
Definition at line 33 of file SonicDispatcherPseudoAsync.h.
Referenced by dispatch(), waitForNext(), and ~SonicDispatcherPseudoAsync().
|
private |
Definition at line 31 of file SonicDispatcherPseudoAsync.h.
Referenced by dispatch(), and waitForNext().
|
private |
Definition at line 32 of file SonicDispatcherPseudoAsync.h.
Referenced by dispatch(), and waitForNext().
|
private |
Definition at line 34 of file SonicDispatcherPseudoAsync.h.
Referenced by waitForNext(), and ~SonicDispatcherPseudoAsync().
|
private |
Definition at line 35 of file SonicDispatcherPseudoAsync.h.
Referenced by SonicDispatcherPseudoAsync(), and ~SonicDispatcherPseudoAsync().