NCBI C++ ToolKit
|
Search Toolkit Book for CInitMutexPool
#include <util/mutex_pool.hpp>
Classes | |
class | CPoolMutex |
Public Types | |
typedef CPoolMutex | TMutex |
Public Member Functions | |
CInitMutexPool (void) | |
~CInitMutexPool (void) | |
Protected Member Functions | |
bool | AcquireMutex (CInitMutex_Base &init, CRef< TMutex > &mutex, bool force=false) |
void | ReleaseMutex (CInitMutex_Base &init, CRef< TMutex > &mutex) |
Private Types | |
typedef list< CRef< TMutex > > | TMutexList |
Private Member Functions | |
CInitMutexPool (const CInitMutexPool &) | |
const CInitMutexPool & | operator= (const CInitMutexPool &) |
Private Attributes | |
TMutexList | m_MutexList |
CFastMutex | m_Pool_Mtx |
Friends | |
class | CInitGuard |
Definition at line 57 of file mutex_pool.hpp.
typedef CPoolMutex CInitMutexPool::TMutex |
Definition at line 87 of file mutex_pool.hpp.
|
private |
Definition at line 100 of file mutex_pool.hpp.
CInitMutexPool::CInitMutexPool | ( | void | ) |
Definition at line 43 of file mutex_pool.cpp.
CInitMutexPool::~CInitMutexPool | ( | void | ) |
Definition at line 48 of file mutex_pool.cpp.
|
private |
|
protected |
Definition at line 53 of file mutex_pool.cpp.
References _ASSERT, init(), local, m_MutexList, and m_Pool_Mtx.
Referenced by CInitGuard::CInitGuard(), and CInitGuard::ForceGuard().
|
private |
|
protected |
Definition at line 84 of file mutex_pool.cpp.
References _ASSERT, init(), local, m_MutexList, and m_Pool_Mtx.
|
friend |
Definition at line 90 of file mutex_pool.hpp.
|
private |
Definition at line 101 of file mutex_pool.hpp.
Referenced by AcquireMutex(), and ReleaseMutex().
|
private |
Definition at line 102 of file mutex_pool.hpp.
Referenced by AcquireMutex(), and ReleaseMutex().