top
| up
| prev
| next
Mutex Class
Definition at line 49
of Mutex.hpp
Constructors
Member Functions
Member Variables
Constructor Details
Mutex Constructor
soulng::util::Mutex::Mutex(char
id_)
Definition at line 61
of Mutex.cpp
:
61 : id(id_)
62 {
63 }
Declaration at line 52
of Mutex.hpp
Member Function Details
Id Member Function
char
soulng::util::Mutex::Id() const
Definition at line 53
of Mutex.hpp
:
53 { return id; }
Called by: soulng::util::LockGuard::Lock
Lock Member Function
void
soulng::util::Mutex::Lock()
Definition at line 54
of Mutex.hpp
:
54 { mtx.lock(); }
Called by: soulng::util::LockGuard::Lock
Mtx Member Function
std::mutex& soulng::util::Mutex::Mtx()
Definition at line 56
of Mutex.hpp
:
56 { return mtx; }
Unlock Member Function
void
soulng::util::Mutex::Unlock()
Definition at line 55
of Mutex.hpp
:
55 { mtx.unlock(); }
Called by: soulng::util::LockGuard::Unlock
top
| up
| prev
| next