Jump to content

FSH_YIELD

From EDM2
Revision as of 05:03, 12 February 2020 by Martini (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.