Scanframe Modular Application 0.1.0
|
Lightweight intra process thread synchronization. More...
#include <Mutex.h>
Classes | |
class | Lock |
Locking class for easy locking and unlocking by destructor. More... | |
Public Types | |
typedef ::pthread_mutex_t * | handle_type |
Handle type. | |
Public Member Functions | |
Mutex (const char *name=nullptr) | |
Default constructor. | |
~Mutex () | |
Destructor. | |
operator handle_type () | |
Friends | |
class | Condition |
Lightweight intra process thread synchronization.
Can only be used with other mutex, and only within the same process.
typedef ::pthread_mutex_t* sf::Mutex::handle_type |
Handle type.
sf::Mutex::Mutex | ( | const char * | name = nullptr | ) |
Default constructor.
sf::Mutex::~Mutex | ( | ) |
Destructor.
|
inline |
Casting operator.
|
friend |