NCBI C++ ToolKit
|
Search Toolkit Book for CTSE_ScopeUserLocker
#include <objmgr/impl/tse_scope_lock.hpp>
Public Member Functions | |
void | Lock (CTSE_ScopeInfo *tse) const |
void | Unlock (CTSE_ScopeInfo *tse) const |
void | Relock (CTSE_ScopeInfo *tse) const |
void | TransferLock (const CTSE_ScopeInfo *, const CTSE_ScopeUserLocker &) const |
![]() | |
void | Lock (const CObject *object) const |
void | Relock (const CObject *object) const |
void | Unlock (const CObject *object) const |
void | UnlockRelease (const CObject *object) const |
void | TransferLock (const CObject *object, const CObjectCounterLocker &old_locker) const |
Additional Inherited Members | |
![]() | |
static void | ReportIncompatibleType (const type_info &type) |
static void | MonitorObjectType (const type_info &type) |
Set monitored object type, e.g. More... | |
static void | StopMonitoring (void) |
Stop lock/unlock monitoring. More... | |
static void | ReportLockedObjects (bool clear=false) |
Print all currently locked objects of monitored type. More... | |
Definition at line 62 of file tse_scope_lock.hpp.
void CTSE_ScopeUserLocker::Lock | ( | CTSE_ScopeInfo * | tse | ) | const |
Definition at line 1194 of file scope_info.cpp.
References CObjectCounterLocker::Lock(), CObjectCounterLocker::Unlock(), CTSE_ScopeInfo::x_InternalLockTSE(), CTSE_ScopeInfo::x_InternalUnlockTSE(), and CTSE_ScopeInfo::x_UserLockTSE().
Referenced by Relock().
|
inline |
Definition at line 67 of file tse_scope_lock.hpp.
References Lock().
|
inline |
Definition at line 71 of file tse_scope_lock.hpp.
void CTSE_ScopeUserLocker::Unlock | ( | CTSE_ScopeInfo * | tse | ) | const |
Definition at line 1209 of file scope_info.cpp.
References CObjectCounterLocker::Unlock(), CTSE_ScopeInfo::x_InternalUnlockTSE(), and CTSE_ScopeInfo::x_UserUnlockTSE().