|
#include <CATCritSec.h>
CATCritSec provides a per-thread synchronization object. While one thread owns a critical section, another may not receive it and will have to wait until it is released. A single thread, however, will not be forced to wait if it tries to acquire the critical section twice before releasing it - just make sure to call Release() for each Wait().
Definition at line 27 of file CATCritSec.h.
Public Member Functions | |
| CATCritSec () | |
| virtual | ~CATCritSec () |
| void | Wait () |
| void | Release () |
Private Member Functions | |
| CATCritSec & | operator= (const CATCritSec &) |
Private Attributes | |
| CRITICAL_SECTION | fCritSec |
1.5.4