Home | History | Annotate | Download | only in oscl_html
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
      3 <title>OsclScheduler class Reference</title>
      4 <link href="doxygen.css" rel="stylesheet" type="text/css">
      5 </head><body>
      6 <!-- Generated by Doxygen 1.2.18 -->
      7 <center>
      8 <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
      9 <hr><h1>OsclScheduler Class Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclproc.html">OSCL Proc</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__scheduler_8h-source.html">oscl_scheduler.h</a>&gt;</code>
     13 <p>
     14 <table border=0 cellpadding=0 cellspacing=0>
     15 <tr><td></td></tr>
     16 <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
     17 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void&nbsp;</td><td valign=bottom><a class="el" href="classOsclScheduler.html#d0">Init</a> (const char *name, <a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> *alloc=NULL, int nreserve=20)</td></tr>
     18 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void&nbsp;</td><td valign=bottom><a class="el" href="classOsclScheduler.html#d1">Cleanup</a> ()</td></tr>
     19 </table>
     20 <hr><a name="_details"></a><h2>Detailed Description</h2>
     21 Per-thread scheduler initialization and cleanup. 
     22 <p>
     23 <hr><h2>Member Function Documentation</h2>
     24 <a name="d1" doxytag="OsclScheduler::Cleanup"></a><p>
     25 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     26   <tr>
     27     <td class="md">
     28       <table cellpadding="0" cellspacing="0" border="0">
     29         <tr>
     30           <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclScheduler::Cleanup </td>
     31           <td class="md" valign="top">(&nbsp;</td>
     32           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     33           <td class="md" valign="top">)&nbsp;</td>
     34           <td class="md" nowrap><code> [static]</code></td>
     35         </tr>
     36 
     37       </table>
     38     </td>
     39   </tr>
     40 </table>
     41 <table cellspacing=5 cellpadding=0 border=0>
     42   <tr>
     43     <td>
     44       &nbsp;
     45     </td>
     46     <td>
     47 
     48 <p>
     49 This routine uninstalls and destroys Oscl scheduler for the calling thread.     </td>
     50   </tr>
     51 </table>
     52 <a name="d0" doxytag="OsclScheduler::Init"></a><p>
     53 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     54   <tr>
     55     <td class="md">
     56       <table cellpadding="0" cellspacing="0" border="0">
     57         <tr>
     58           <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclScheduler::Init </td>
     59           <td class="md" valign="top">(&nbsp;</td>
     60           <td class="md" nowrap valign="top">const char *&nbsp;</td>
     61           <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
     62         </tr>
     63         <tr>
     64           <td></td>
     65           <td></td>
     66           <td class="md" nowrap><a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> *&nbsp;</td>
     67           <td class="mdname" nowrap>&nbsp; <em>alloc</em> = NULL, </td>
     68         </tr>
     69         <tr>
     70           <td></td>
     71           <td></td>
     72           <td class="md" nowrap>int&nbsp;</td>
     73           <td class="mdname" nowrap>&nbsp; <em>nreserve</em> = 20</td>
     74         </tr>
     75         <tr>
     76           <td></td>
     77           <td class="md">)&nbsp;</td>
     78           <td class="md" colspan="2"><code> [static]</code></td>
     79         </tr>
     80 
     81       </table>
     82     </td>
     83   </tr>
     84 </table>
     85 <table cellspacing=5 cellpadding=0 border=0>
     86   <tr>
     87     <td>
     88       &nbsp;
     89     </td>
     90     <td>
     91 
     92 <p>
     93 This routine creates and installs a scheduler in the calling thread. <dl compact><dt><b>Parameters: </b></dt><dd>
     94 <table border=0 cellspacing=2 cellpadding=0>
     95 <tr><td valign=top><em>name:</em>&nbsp;</td><td>
     96 (input param) scheduler name. </td></tr>
     97 <tr><td valign=top><em>alloc:</em>&nbsp;</td><td>
     98 (input param) optional allocator to use for the internal implementation. </td></tr>
     99 <tr><td valign=top><em>nreserve:</em>&nbsp;</td><td>
    100 (input param) optional value for ready queue reserve size. </td></tr>
    101 </table>
    102 </dl>    </td>
    103   </tr>
    104 </table>
    105 <hr>The documentation for this class was generated from the following file:<ul>
    106 <li><a class="el" href="oscl__scheduler_8h-source.html">oscl_scheduler.h</a></ul>
    107 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    108 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    109 </small></address>
    110 </body>
    111 </html>
    112