#include <critsec.h>
Public Member Functions | |
PEnterAndLeave (PCriticalSection &_critSec, BOOL enter=TRUE) | |
~PEnterAndLeave () | |
Protected Attributes | |
PCriticalSection & | critSec |
|
Create the critical section enter and leave instance. This will enter the critical section using the Enter()# function before returning.
|
|
Leave the critical section. This will execute the Leave() function on the critical section that was used in the construction of this instance. |
|
|