Search Toolkit Book for CThreadPool_Guard
Guardian for protecting pool by locking its main mutex. More...
Inheritance diagram for CThreadPool_Guard:
Collaboration diagram for CThreadPool_Guard:
Additional Inherited Members Private Types inherited from CGuard< Resource, Lock, Unlock, ReportExceptions > typedef Resource resource_type typedef resource_type * resource_ptr typedef Lock lock_type typedef Unlock unlock_type typedef CGuard< Resource, Lock, Unlock, ReportExceptions > TThisType Private Types inherited from CGuard_Base enum EReportExceptions { eReport , eSilent } Exception reporting options. More...Guardian for protecting pool by locking its main mutex.
Definition at line 559 of file thread_pool.cpp.
Constructor & Destructor Documentation ◆ CThreadPool_Guard()Constructor.
Definition at line 664 of file thread_pool.cpp.
References _ASSERT, and Guard().
Member Function Documentation ◆ Guard() void CThreadPool_Guard::Guard ( void )Turn this guardian on.
Definition at line 675 of file thread_pool.cpp.
References CThreadPool_Impl::GetMainPoolMutex(), CGuard< Resource, Lock, Unlock, ReportExceptions >::Guard(), and m_Pool.
Referenced by CThreadPool_Impl::AddTask(), CThreadPool_Guard(), CThreadPool_ServiceThread::Main(), CThreadPool_Controller::SetMaxThreads(), CThreadPool_Controller::SetMinThreads(), and CThreadPool_Impl::x_WaitForPredicate().
◆ Release() void CThreadPool_Guard::Release ( void ) Member Data Documentation ◆ m_PoolThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4