Jump to content

Yield method

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fmadd (talk | contribs) at 07:55, 15 May 2016 (Similar functions). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Yield method is used in various object oriented languages which handle multi-threading (such as Java, C#) to force the processor to relinquish control of the current running thread and send it to end of the running queue of the same priority.[1]

Similar functions

Other languages provide similar functionality outside of an OOP framework:-

References

  1. ^ "Thread.yield". Javamex. Retrieved 24 June 2011.

See also