|
CLAM-Development
1.4.0
|
#include <PooledThread.hxx>
Public Member Functions | |
| PooledThread (CLAM::ThreadPool *myThreadPool, bool realtime=true) | |
| ~PooledThread () | |
| void | Start () |
| void | ReturnToPool () |
Public Member Functions inherited from CLAM::Thread | |
| Thread (bool realtime=false) | |
| virtual | ~Thread () |
| virtual void | Stop () |
| void | Sleep () |
| void | Sleep (unsigned int milliseconds) |
| void | WakeUp () |
| void | Yield () |
| void | SetThreadCode (const CBL::Functor0 &thread_code) |
| void | SetCleanupCode (const CBL::Functor0 &cleanup_code) |
| bool | operator== (const Thread &other) const |
| bool | IsCancelled () const |
| bool | IsRunning () const |
Additional Inherited Members | |
Protected Member Functions inherited from CLAM::Thread | |
| virtual void | SetupPriorityPolicy () |
Protected Attributes inherited from CLAM::Thread | |
| bool | mRealtime |
| bool | mHasCode |
| bool | mHasCleanup |
| pthread_t | mThreadID |
| bool | mIsCancelled |
| bool | mRunning |
| CBL::Functor0 | mThreadCode |
| CBL::Functor0 | mCleanUpCode |
| Condition | mSleepCondition |
Definition at line 32 of file PooledThread.hxx.
| CLAM::PooledThread::PooledThread | ( | CLAM::ThreadPool * | myThreadPool, |
| bool | realtime = true |
||
| ) |
Definition at line 8 of file PooledThread.cxx.
| CLAM::PooledThread::~PooledThread | ( | ) |
Definition at line 13 of file PooledThread.cxx.
| void CLAM::PooledThread::ReturnToPool | ( | ) |
Definition at line 29 of file PooledThread.cxx.
References CLAM::ThreadPool::ReturnThreadToPool().
|
virtual |
Reimplemented from CLAM::Thread.
Definition at line 17 of file PooledThread.cxx.
References CLAM::Thread::mRunning, CLAM::Thread::mThreadID, and NULL.
1.8.1