![]() |
Public Member Functions | |
| void | lock () |
| bool | trylock () |
| void | unlock () |
| operator Mutex& () | |
| GStaticMutex* | gobj () |
Related Functions | |
| (Note that these are not member functions.) | |
| GLIBMM_STATIC_MUTEX_INIT | |
| Initializer macro for Glib::StaticMutex. | |
Use GLIBMM_STATIC_MUTEX_INIT to initialize a StaticMutex:
A StaticMutex can be used without calling Glib::thread_init(), it will silently do nothing then. That will also work when using the implicit conversion to Mutex&, thus you can safely use Mutex::Lock with a StaticMutex.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initializer macro for Glib::StaticMutex.
|