
#include <wefts_os_windows.h>
Inheritance diagram for Wefts::OSMutexWindows:


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 |
Friends | |
| class | OSConditionWindows |
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.
|
|
|
|
|
|
|
|
Implements Wefts::OSMutexBase. |
|
|
Implements Wefts::OSMutexBase. |
|
|
Unlocks the mutex.
Implements Wefts::OSMutexBase. |
|
|
|
|
|
|
|
|
|
1.3.5