WaitOnSpace¶
Waits until a space has no live tasks left.
Library helper
Implemented in zuzu.h on top of the syscalls; it has no syscall number of its own.
SpaceWaitResult WaitOnSpace(Handle space, Duration timeout);
Parameters¶
| Name | Direction | Description |
|---|---|---|
space |
in | Space handle with PERM_WAIT; not the caller's own space. |
timeout |
in | Milliseconds to wait, or TIMEOUT_POLL / TIMEOUT_INFINITE. |
Returns¶
The unpacked result; status as for WaitOn().