#include <private_ge_semaphore.h>
Public Member Functions | |
Semaphore () | |
~Semaphore () | |
Bool | AttemptLock (Int32 line=0, const Char *file="") |
Bool | Lock (BaseThread *bt, Int32 line=0, const Char *file="") |
Int32 | UnLock () |
void | CheckLockCount () |
Int32 | IsLockedByMe () |
Private Member Functions | |
void | ErrorAlert () |
Private Attributes | |
GeRWSpinlock | lock |
Int32 | cnt |
UInt32 | id |
Semaphore | ( | ) |
~Semaphore | ( | ) |
|
private |
Bool Lock | ( | BaseThread * | bt, |
Int32 | line = 0 , |
||
const Char * | file = "" |
||
) |
Int32 UnLock | ( | ) |
void CheckLockCount | ( | ) |
Int32 IsLockedByMe | ( | ) |
|
private |
|
private |
|
private |