#include <wefts_os_windows.h>
Inheritance diagram for Wefts::OSMutexWindows:
Windows mutexes are currently implemented through a Windows CRITICAL_SECTION. For this reason, win95, win98 and winME calls to tryLock() will fail (always return false). Also, as reentracy is not requested by OSTAIL model, rentrant lock ability of CRITICAL_SECTION is a waste of time.
Public Member Functions | |
OSMutexWindows () throw ( InitError ) | |
~OSMutexWindows () | |
virtual void | lock () |
virtual bool | trylock () |
virtual void | unlock () |
Unlocks the mutex. | |
Protected Attributes | |
CRITICAL_SECTION | m_sect |
Private Attributes | |
bool | m_canTryLock |
|
|
|
|
|
Implements Wefts::OSMutexBase. |
|
Implements Wefts::OSMutexBase. |
|
Unlocks the mutex.
Implements Wefts::OSMutexBase. |
|
|
|
|