95 |
* (default: 0s) |
* (default: 0s) |
96 |
* @param TimeoutNanoSeconds - optional: max wait time in nano |
* @param TimeoutNanoSeconds - optional: max wait time in nano |
97 |
* seconds (default: 0ns) |
* seconds (default: 0ns) |
98 |
|
* @param bAlreadyLocked - optional: you must set this to true if |
99 |
|
* you have called Push() before and are |
100 |
|
* using PushAndUnlock to end the |
101 |
|
* critical region (default: false) |
102 |
* @returns bool pointer with condition before PushAndUnlock() |
* @returns bool pointer with condition before PushAndUnlock() |
103 |
* call, NULL if timeout exceeded |
* call, NULL if timeout exceeded |
104 |
*/ |
*/ |
105 |
bool* PushAndUnlock(bool bCondition, long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L); |
bool* PushAndUnlock(bool bCondition, long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L, bool bAlreadyLocked = false); |
106 |
|
|
107 |
|
void PushAndUnlock2(bool bCondition); |
108 |
|
|
109 |
/** |
/** |
110 |
* Should be called by the NRTT after it left it's critical section |
* Should be called by the NRTT after it left it's critical section |