top | up | prev | next

MutexOwner Class

Definition at line 13 of Mutex.hpp

Constructors

MutexOwner(char id_)

Member Functions

void Pop()
void Push(char mutexId)

Member Variables

char id
std::string ownedMutexes

Constructor Details

MutexOwner Constructor

soulng::util::MutexOwner::MutexOwner(char id_)

Definition at line 10 of Mutex.cpp :
10 : id(id_)
11 {
12 }


Declaration at line 16 of Mutex.hpp


Member Function Details

Pop Member Function

void soulng::util::MutexOwner::Pop()

Definition at line 19 of Mutex.cpp :
20 {
21     ownedMutexes.pop_back();
22 }


Declaration at line 18 of Mutex.hpp

Called by: soulng::util::LockGuard::Unlock , soulng::util::OwnerGuard::destructor


Push Member Function

void soulng::util::MutexOwner::Push(char mutexId)

Definition at line 14 of Mutex.cpp :
15 {
16     ownedMutexes.push_back(mutexId);
17 }


Declaration at line 17 of Mutex.hpp

Called by: soulng::util::LockGuard::Lock


top | up | prev | next