when we already hold the mMutex lock ...
| 249 | } |
| 250 | // when we already hold the mMutex lock ... |
| 251 | void QWait() |
| 252 | { |
| 253 | while( !mSet ) |
| 254 | pthread_cond_wait( mCondition, mMutex.mMutex ); |
| 255 | mSet = false; |
| 256 | } |
| 257 | // Returns true if the wait was success, false on timeout. |
| 258 | bool WaitSeconds(double inSeconds) |
| 259 | { |