#include <wefts_os_base.h>
Inheritance diagram for Wefts::OSMutexBase:
Public Member Functions | |
virtual void | lock ()=0 |
Locks the mutex. | |
virtual bool | trylock ()=0 |
Try to lock the mutex. | |
virtual void | unlock ()=0 |
Unlocks the mutex. | |
Protected Member Functions | |
OSMutexBase () | |
Initializes the internal data of the mutex. |
|
Initializes the internal data of the mutex.
|
|
Locks the mutex.
Implemented in Wefts::OSMutexPthread, and Wefts::OSMutexWindows. |
|
Try to lock the mutex.
Implemented in Wefts::OSMutexPthread, and Wefts::OSMutexWindows. |
|
Unlocks the mutex.
Implemented in Wefts::OSMutexPthread, and Wefts::OSMutexWindows. |