OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <PoolSynch.h>
Public Member Functions | |
PoolSynch (PoolSynchStrategy *strategy, ThreadSynchResource *synch_resource) | |
virtual | ~PoolSynch () |
virtual void | work_available () |
![]() | |
virtual | ~ThreadSynch () |
int | register_worker (ThreadSynchWorker &worker) |
void | unregister_worker () |
Our owner, the worker_, is breaking our relationship. More... | |
Protected Member Functions | |
virtual void | unregister_worker_i () |
![]() | |
ThreadSynch (ThreadSynchResource *resource) | |
int | wait_on_clogged_resource () |
virtual int | register_worker_i () |
WeakRcHandle< ThreadSynchWorker > | worker () |
Access the worker implementation directly. More... | |
Definition at line 22 of file PoolSynch.h.
ACE_INLINE OpenDDS::DCPS::PoolSynch::PoolSynch | ( | PoolSynchStrategy * | strategy, |
ThreadSynchResource * | synch_resource | ||
) |
Definition at line 11 of file PoolSynch.inl.
References DBG_ENTRY_LVL.
|
virtual |
|
protectedvirtual |
The default implementation is to do nothing here. The subclass may override the implementation in order to do something when the worker unregisters.
Reimplemented from OpenDDS::DCPS::ThreadSynch.
Definition at line 31 of file PoolSynch.cpp.
References DBG_ENTRY_LVL.
|
virtual |
The ThreadSynchWorker would like to have its perform_work() called from the appropriate thread once the ThreadSynchResource claims that it is_ready_for_work().
Implements OpenDDS::DCPS::ThreadSynch.
Definition at line 24 of file PoolSynch.cpp.
References DBG_ENTRY_LVL.