void Yield(void) |
The Yield function stops the current task and starts any waiting task.
This function has no parameters.
This function does not return a value.
Use the Yield function only when the application will not receive any messages.
Applications that contain windows should use a DispatchMessage, PeekMessage, or TranslateMessage loop rather than call the Yield function directly. The message-loop functions handle message synchronization properly and yield at the appropriate times.