Utility class for exception-safe mutex locking.  
 More...
#include <glibmm/threads.h>
Utility class for exception-safe mutex locking. 
- Usage example:
-  As you can see, the compiler takes care of the unlocking. This is not only exception-safe but also much less error-prone. You could even returnwhile still holding the lock and it will be released properly.
- Deprecated:
- Please use std::lock_guard or std::unique_lock instead. 
◆ Lock() [1/4]
  
  | 
        
          | Glib::Threads::Mutex::Lock::Lock | ( | Mutex& | mutex | ) |  |  | inlineexplicit | 
 
 
◆ Lock() [2/4]
◆ Lock() [3/4]
◆ Lock() [4/4]
  
  | 
        
          | Glib::Threads::Mutex::Lock::Lock | ( | const Mutex::Lock& |  | ) |  |  | delete | 
 
 
◆ ~Lock()
  
  | 
        
          | Glib::Threads::Mutex::Lock::~Lock | ( |  | ) |  |  | inline | 
 
 
◆ acquire()
  
  | 
        
          | void Glib::Threads::Mutex::Lock::acquire | ( |  | ) |  |  | inline | 
 
 
◆ locked()
  
  | 
        
          | bool Glib::Threads::Mutex::Lock::locked | ( |  | ) | const |  | inline | 
 
 
◆ operator=()
◆ release()
  
  | 
        
          | void Glib::Threads::Mutex::Lock::release | ( |  | ) |  |  | inline | 
 
 
◆ try_acquire()
  
  | 
        
          | bool Glib::Threads::Mutex::Lock::try_acquire | ( |  | ) |  |  | inline |