#include <critsec.h>
Inheritance diagram for PCriticalSection:

Public Member Functions | |
Construction | |
| PCriticalSection () | |
| PCriticalSection (const PCriticalSection &) | |
| ~PCriticalSection () | |
Operations | |
| void | Wait () |
| void | Enter () |
| void | Signal () |
| void | Leave () |
|
|
Create a new critical section object . |
|
|
|
|
|
Destroy the critical section object |
|
|
|
|
|
|
|
|
Leave the critical section by unlocking the mutex Implements PSync. |
|
|
Enter the critical section by waiting for exclusive access. Implements PSync. |
1.4.2