This represents a recursive mutex.
More...
#include <glibmm/threads.h>
|
class | Lock |
| Utility class for exception-safe locking of recursive mutexes. More...
|
|
|
(Note that these are not member functions.)
|
RecMutex * | wrap (GRecMutex * gobject) |
| A C++ wrapper for the C object. More...
|
|
This represents a recursive mutex.
It is similar to a Mutex with the difference that it is possible to lock a RecMutex multiple times in the same thread without deadlock. When doing so, care has to be taken to unlock the recursive mutex as often as it has been locked.
- Deprecated:
- Please use std::recursive_mutex instead.
◆ RecMutex() [1/2]
Glib::Threads::RecMutex::RecMutex |
( |
| ) |
|
◆ RecMutex() [2/2]
Glib::Threads::RecMutex::RecMutex |
( |
const RecMutex & |
| ) |
|
|
delete |
◆ ~RecMutex()
Glib::Threads::RecMutex::~RecMutex |
( |
| ) |
|
◆ gobj()
GRecMutex * Glib::Threads::RecMutex::gobj |
( |
| ) |
|
|
inline |
◆ lock()
void Glib::Threads::RecMutex::lock |
( |
| ) |
|
◆ operator=()
◆ trylock()
bool Glib::Threads::RecMutex::trylock |
( |
| ) |
|
◆ unlock()
void Glib::Threads::RecMutex::unlock |
( |
| ) |
|