1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<TITLE>NWC24ResumeScheduler</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24ResumeScheduler</H1> 11 12<H2>Syntax</H2> 13<DL> 14 <DD><PRE><CODE>#include <revolution/nwc24.h></CODE></PRE> 15 <DD><PRE><CODE>s32 NWC24ResumeScheduler( void );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Frees the auto-scheduler from a temporary pause.<BR> 21</P> 22<P> 23If the suspend process is run multiple times and the suspend counter maintained within the library has a value greater than 1, the suspended state will not be cancelled just by decrementing the counter. 24</P> 25 26<H2>Arguments</H2> 27<P> 28None. 29</P> 30 31<h2>Return Values</h2> 32<P> 33Returns the suspend counter from before the start of processing.<BR> When 0 is returned, it indicates that the auto-schedule was in an executable state before the process began.<BR> A return value of 1 indicates that the suspended state was released by this process.<BR> A positive return value of 2 or greater indicates that the suspended state continues.<BR> <BR>One of the following is returned when the process fails:</P> 34<P> 35<code>NWC24_ERR_FATAL</code>: fatal error.<BR> <code>NWC24_ERR_INTERNAL_IPC</code>: problem with internal process.<BR> <code>NWC24_ERR_INPROGRESS</code>: scheduler has not started.<BR> <code>NWC24_ERR_MUTEX</code>: there is context indicating another call to the scheduler API and such.<BR> 36</P> 37 38<H2>See Also</H2> 39<P> 40<A href="NWC24SuspendScheduler.html"><CODE>NWC24SuspendScheduler</CODE></A>, <A href="NWC24TrySuspendScheduler.html"><CODE>NWC24TrySuspendScheduler</CODE></A> 41</P> 42 43<H2>Revision History</H2> 44<P> 452007/12/13 Described internal counter operations. <BR>2006/09/01 Initial version. 46</P> 47 48<hr><p>CONFIDENTIAL</p></body> 49</HTML>