osdThreadYield

osdThreadYield

osd

1998 12-05


NAME

osdThreadYield - yield execution


SYNOPSIS

void osdThreadYield()

osdThreadYield is used to yield execution. Since both kernel threads and process implemented threads are supported, two types of yield are provided. Kernel implemented threads are scheduled by the operating system which means that yields are not required to change execution from one thread to another. However, process implemented threads are all just a single process as far as the operating system is concerned which means that explicit yields are necessary the change execution from one thread to another.


osdThreadHardYield() is the same as osdThreadYield() and will always yield execution.


osdThreadSoftYield() will only yield in a process thread implemented system (such as the CThreads package).