FSH YIELD: Difference between revisions
Appearance
Created page with "This function provides the mechanism for relinquishing the processor to higher priority threads. ==Syntax== FSH_YIELD(void) ==Parameters== None. ==Returns== There are no ..." |
(No difference)
|
Revision as of 04:03, 12 February 2020
This function provides the mechanism for relinquishing the processor to higher priority threads.
Syntax
FSH_YIELD(void)
Parameters
None.
Returns
There are no error returns.
Calling Sequence
void far pascal FSH_YIELD(void)
Remarks
FSDs run under the 2 mS dispatch latency imposed on the OS/2 kernel, meaning that no more than 2 mS can be spent in an FSD without an explicit block or yield . FSH_YIELD will test to see if another thread is runable at the current thread 's priority or at a higher priority. If one exists, that thread will be given a chance to run.