![]() |
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, bool recursive=true) | |
| Default constructor. | |
| ~Mutex () | |
| Destructor. | |
| operator handle_type () | |
| Casting operator. | |
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.
|
explicit |
Default constructor.
| name | Mutex name. |
| recursive | True to create a recursive mutex which the default. |
| sf::Mutex::~Mutex | ( | ) |
Destructor.
|
inline |
Casting operator.
Casting operator.
|
friend |