VIWaitForRetrace

Syntax

#include <revolution/vi.h>

void VIWaitForRetrace(void);

Arguments

None.

Return Values

None.

Description

This function waits until the next vertical retrace interrupt occurs. If an idle function has been set, this function will be called.

This function sometimes puts the current thread to sleep, so it cannot be called from callback functions. For precautions when calling similar functions, refer to Interrupts and Callback Functions.

See Also

OSGetIdleFunction
Interrupts and Callback Functions

Revision History

2007/09/25 Added information on the sleep status of threads.
2006/03/01 Initial version.


CONFIDENTIAL