Yield

  void Yield(void)    

The Yield function is obsolete. In Win32, this function does nothing.

Threads that contain windows should use a DispatchMessage, PeekMessage, or TranslateMessage. The message-loop functions handle message synchronization properly and yield at the appropriate times.

Threads that do not contain windows should use the Sleep function with a sleep time of zero milliseconds to give up the remainder of their current time slice.