

Definition at line 548 of file thread_pool.cpp.
Public Member Functions | |
| CThreadPool_Guard (CThreadPool_Impl *pool, bool is_active=true) | |
| Constructor. | |
| void | Guard (void) |
| Turn this guardian on. | |
| void | Release (void) |
| Turn this guardian off. | |
Private Attributes | |
| CThreadPool_Impl * | m_Pool |
| Pool protected by the guardian. | |
|
||||||||||||
|
Constructor.
Definition at line 655 of file thread_pool.cpp. |
|
|
Turn this guardian on.
Definition at line 666 of file thread_pool.cpp. References CThreadPool_Impl::GetMainPoolMutex(), CGuard< SSystemMutex >::Guard(), and m_Pool. Referenced by CThreadPool_Impl::AddTask(), CThreadPool_Guard(), CThreadPool_Controller::SetMaxThreads(), CThreadPool_Controller::SetMinThreads(), CThreadPool_ServiceThread::x_WaitForPoolStop(), and CThreadPool_Impl::x_WaitForPredicate(). |
|
|
Turn this guardian off.
Reimplemented from CGuard< SSystemMutex >. Definition at line 672 of file thread_pool.cpp. References CGuard< SSystemMutex >::Release(). Referenced by CThreadPool_ServiceThread::x_WaitForPoolStop(), and CThreadPool_Impl::x_WaitForPredicate(). |
|
|
Pool protected by the guardian.
Definition at line 566 of file thread_pool.cpp. Referenced by Guard(). |
1.4.6
Modified on Wed Dec 09 08:20:06 2009 by modify_doxy.py rev. 173732