nn::os::Event::Wait Member Function

Syntax

#include <nn/os.h>

void Wait();

bool Wait(
     nn::fnd::TimeSpan timeout
);

List of Overloaded Member Functions

Wait ( ) Waits until an event enters the signaled state.
Wait ( nn::fnd::TimeSpan ) Blocks until an event occurs.

Description of Wait ( )

Waits for an event to enter the signaled state.

Description of Wait ( nn::fnd::TimeSpan )

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