nn::os::Event::Wait Member Function#include <nn/os.h>
bool Wait(
nn::fnd::TimeSpan timeout
);
| Name | Description | |
|---|---|---|
| in | timeout | Specifies the timeout period. Specifying 0 will cause control to return immediately. |
Blocks until an event occurs.
Immediately returns true if an event is in the signaled state. If the event is not in the signaled state, this function waits for at most the length of time specified by timeout, and returns true if it receives a signal by then. Returns false if it does not receive a signal even after waiting for the time specified by timeout.
CONFIDENTIAL