Yield (YIELD)


Op Code (Hex)



0610



Bound program access

Built-in number for YIELD is 539. YIELD ( )

Description  The dispatching algorithm is run. If another thread of equal or higher priority is eligible to run, then a thread is chosen and dispatched. Otherwise, the current thread resumes execution.

Usage Notes

The yield() function is a common technique used on other platforms to serialize on a resource or to allow other threads of equal or higher priority to execute before the current thread begins execution of a long running function.

Authorization Required

Lock Enforcement

Exceptions