dsfml.system.mutex
- class Mutex;
- Provide portable implementation of Mutual Exclusion object.
Uses CriticalSection on Windows and pthread mutexes on linux.
- this();
- Constructor
- void lock();
- Lock the mutex
Can be called multiples times, but each lock must be unlocked with unlock()
- void unlock();
- Unlock the mutex
Page generated by Ddoc.