#include <Mutex.hpp>
Inheritance diagram for sf::Mutex:
Public Member Functions | |
Mutex () | |
Default constructor. | |
~Mutex () | |
Destructor. | |
void | Lock () |
Lock the mutex. | |
void | Unlock () |
Unlock the mutex. |
The Win32 version uses critical sections, as it is faster than mutexes.
See Lock for an efficient way of using it.
Definition at line 45 of file Win32/Mutex.hpp.
sf::Mutex::Mutex | ( | ) |
Default constructor.
sf::Mutex::~Mutex | ( | ) |
Destructor.
void sf::Mutex::Lock | ( | ) |
Lock the mutex.
void sf::Mutex::Unlock | ( | ) |
Unlock the mutex.