WaitAny

nn::os::WaitObject::WaitAny Member Function

Syntax

#include <nn/os.h>

static s32 WaitAny(
     WaitObject * objs[],
     s32 numObjects,
     nn::fnd::TimeSpan timeout
);

Parameters

Name Description
in objs[] Specifies a WaitObject array.
in numObjects Specifies the number of WaitObject objects.
in timeout Specifies the timeout period.

Return Values

Returns the index in the objs array of the object whose Wait operation was released. Returns a negative value if the operation timed out.

Description

Waits for a single object while using a timeout period.


CONFIDENTIAL