#include <Locks.h>
Public Member Functions | |
| void | Clear () | 
| Marks the object as cleared, so nothing is blocking on it.  | |
| void | Set () | 
| Marks the object as set, so BlockUntilClear will block on it.  | |
| bool | WaitUntilClear (bool setOnReturn=false, uint timeToWait=0xffffffff) | 
| Blocks and waits for as long as the object is set (or if time is non-max, then until that many milliseconds pass). Returns false only on timeout. If setOnReturn is true, the object will be Set() when the function returns. Only 1 thread should block on this, though any number may set or clear it.  | |
 1.5.4