1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSYieldThread</title> 10</head> 11 12<body> 13 14<h1>OSYieldThread</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/os.h></code></pre> 21 </dd> 22<dd><pre><code>void OSYieldThread (void);</code></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27 28<p>None.</p> 29 30<h2>Return Values</h2> 31 32<p>None.</p> 33 34<h2>Description</h2> 35 36<p>Performs thread rescheduling. The current thread attempts to relinquish the CPU to give other threads of the same scheduling priority a chance to run. If there are no other threads with the same scheduling priority in the run queue, this function does nothing (if any thread that can run has a higher priority, this thread would already be running).</p> 37 38 39 40<h2>See Also</h2> 41 42<p><a href="../toc.html#Thread" target="contents">Thread Synchronization</a>, <a href="../toc.html#ThreadSynchronization" target="contents">Thread Synchronization Functions</a></p> 43 44<h2>Revision History</h2><p>2006/03/01 Initial version.</p> 45 46<hr> 47<P>CONFIDENTIAL</p> 48</BODY> 49</HTML>