nngxSetTimeout Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxSetTimeout(
     GLint64EXT time,
     void(*)(void) callback
);

Arguments

Name Description
in time Duration (in ticks) to wait before timing out.
in callback Pointer to the callback function to invoke when a timeout occurs.

Return Values

There is no return value.

Description

Configures the nngxWaitCmdlistDone function to time out after the specified time.

Configures the nngxWaitCmdlistDone function, which waits for the currently running command list object to complete, to time out after the specified time. Set time equal to the number of system ticks to wait before a timeout. Set callback equal to a function pointer to the callback to invoke when a timeout occurs.

Once the duration specified by time has elapsed following a call to nngxWaitCmdlistDone, the function specified by callback is invoked and nngxWaitCmdlistDone exits regardless of whether command execution has completed.

The default value for time is 0. Timeouts do not occur if time is 0. The default value for callback is NULL. A callback is not invoked when a timeout occurs if callback is NULL.

This function is only valid in Debug and Development builds.

This function does not generate any errors.

Revision History

2010/08/12
Initial version.

CONFIDENTIAL