WaitOnEvent¶
Waits for bits on an event, then clears them.
Library helper
Implemented in zuzu.h on top of the syscalls; it has no syscall number of its own.
EventWaitResult WaitOnEvent(Handle ev, Duration timeout);
Parameters¶
| Name | Direction | Description |
|---|---|---|
ev |
in | Event handle with PERM_WAIT. |
timeout |
in | Milliseconds to wait, or TIMEOUT_POLL / TIMEOUT_INFINITE. |
Returns¶
The unpacked result; status as for WaitOn().