KASKADE 7 development version
|
A utility class implementing appropriate copy semantics for boost mutexes. More...
#include <threading.hh>
A utility class implementing appropriate copy semantics for boost mutexes.
Definition at line 771 of file threading.hh.
Public Member Functions | |
Mutex ()=default | |
Default constructor. More... | |
Mutex (Mutex const &m) | |
Copy constructor. More... | |
Mutex & | operator= (Mutex const &m) |
Assignment. More... | |
boost::mutex & | get () |
provides access to the mutex to perform the locking. More... | |
|
default |
Default constructor.
The constructed object's mutex is unlocked.
|
inline |
Copy constructor.
The constructed object's mutex is unlocked, independently of the state of m.
Definition at line 786 of file threading.hh.
|
inline |
provides access to the mutex to perform the locking.
Definition at line 798 of file threading.hh.