Yield
The
Yield function is obsolete. This function is provided only for compatibility with
16-bit versions of Windows. In the Win32-based application programming interface
(API), this function does nothing.
Threads that contain windows should use the
DispatchMessage,
PeekMessage, or
TranslateMessage functions. 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.
Threads that create a process can use
WaitForInputIdle to wait until the new process has finished its initialization.
See Also
DispatchMessage,
PeekMessage,
Sleep,
TranslateMessage,
WaitForInputIdle
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database