|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <WorkerThread.hxx>
Public Member Functions | |
| WorkerThread (Worker *impl, resip::TimeLimitFifo< resip::ApplicationMessage > &fifo, resip::SipStack *stack) | |
| virtual | ~WorkerThread () |
| void | thread () |
Public Member Functions inherited from resip::ThreadIf | |
| ThreadIf () | |
| virtual | ~ThreadIf () |
| virtual void | run () |
| void | join () |
| void | detach () |
| virtual void | shutdown () |
| virtual bool | waitForShutdown (int ms) const |
| bool | isShutdown () const |
Protected Attributes | |
| Worker * | mWorker |
| resip::TimeLimitFifo< resip::ApplicationMessage > & | mFifo |
| resip::SipStack * | mStack |
Protected Attributes inherited from resip::ThreadIf | |
| std::shared_ptr< std::thread > | mThreadObj |
| Id | mId |
| bool | mShutdown |
| Mutex | mShutdownMutex |
| Condition | mShutdownCondition |
Additional Inherited Members | |
Public Types inherited from resip::ThreadIf | |
| typedef std::thread::id | Id |
| typedef pthread_key_t | TlsKey |
| typedef void | TlsDestructor(void *) |
Static Public Member Functions inherited from resip::ThreadIf | |
| static Id | selfId () |
| static int | tlsKeyCreate (TlsKey &key, TlsDestructor *destructor) |
| This function follows pthread_key_create() signature. | |
| static int | tlsKeyDelete (TlsKey key) |
| This function follows pthread_key_delete() signature. | |
| static int | tlsSetValue (TlsKey key, const void *val) |
| This function follows pthread_setspecific() signature. | |
| static void * | tlsGetValue (TlsKey key) |
| This function follows pthread_getspecific() signature. | |
Definition at line 13 of file WorkerThread.hxx.
| resip::WorkerThread::WorkerThread | ( | Worker * | impl, |
| resip::TimeLimitFifo< resip::ApplicationMessage > & | fifo, | ||
| resip::SipStack * | stack | ||
| ) |
Definition at line 12 of file WorkerThread.cxx.
|
virtual |
Definition at line 20 of file WorkerThread.cxx.
|
virtual |
Implements resip::ThreadIf.
Definition at line 28 of file WorkerThread.cxx.
|
protected |
Definition at line 23 of file WorkerThread.hxx.
|
protected |
Definition at line 24 of file WorkerThread.hxx.
|
protected |
Definition at line 22 of file WorkerThread.hxx.