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 ..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
This function provides the mechanism for relinquishing the processor to higher priority threads. | This function provides the mechanism for relinquishing the processor to higher priority threads. | ||
==Syntax== | ==Syntax== | ||
FSH_YIELD(void) | FSH_YIELD(void) | ||
==Parameters== | ==Parameters== | ||
None. | None. | ||
==Returns== | ==Returns== | ||
There are no error returns. | There are no error returns. | ||
==Calling Sequence== | ==Calling Sequence== | ||
void far pascal FSH_YIELD(void) | |||
void far pascal FSH_YIELD(void) | |||
==Remarks== | ==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. | 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. | ||
[[Category:IFS Interfaces]] | [[Category:IFS Interfaces]] | ||
{{DISPLAYTITLE:FSH_YIELD}} | {{DISPLAYTITLE:FSH_YIELD}} |
Latest revision as of 17:22, 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.