Mercury Currency Engine
Classes | Public Member Functions | List of all members
mce::mutex Struct Reference

Classes

class  mutex_already_unlocked_exception
 

Public Member Functions

 mutex (const mce::mutex &)=delete
 
void lock ()
 Lock the mutex, blocking until lock is acquired.
 
void unlock ()
 Unlock the mutex.
 
bool try_lock ()
 Attempt to the lock the mutex, returning true if successful, else false.
 

The documentation for this struct was generated from the following file: