<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>2014.1_doc: _process_struct Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.5 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li id="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul></div> <h1>_process_struct Struct Reference</h1><!-- doxytag: class="_process_struct" -->Process Control Block - Information about the Process. <a href="#_details">More...</a> <p> <code>#include <ktypes.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ed39e2ea931586b6a985a6942ef573e"></a><!-- doxytag: member="_process_struct::state" ref="9ed39e2ea931586b6a985a6942ef573e" args="" --> unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__process__struct.html#9ed39e2ea931586b6a985a6942ef573e">state</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Context switch store. Keep this at the top of the structure. Context switch relies on this. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0db3209e1adc6d67be435a81baf9a66e"></a><!-- doxytag: member="_process_struct::pid" ref="0db3209e1adc6d67be435a81baf9a66e" args="" --> pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__process__struct.html#0db3209e1adc6d67be435a81baf9a66e">pid</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Process State. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b988295c268025b49dfb3df26171ddc3"></a><!-- doxytag: member="_process_struct::priority" ref="b988295c268025b49dfb3df26171ddc3" args="" --> signed char </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__process__struct.html#b988295c268025b49dfb3df26171ddc3">priority</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Unique Process Identifier. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3dbe60fbb62d9fff993c5d1b2379e5f3"></a><!-- doxytag: member="_process_struct::is_allocated" ref="3dbe60fbb62d9fff993c5d1b2379e5f3" args="" --> signed char </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__process__struct.html#3dbe60fbb62d9fff993c5d1b2379e5f3">is_allocated</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Process Priority. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">queuep </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__process__struct.html#7149acc24786c419376c148341432092">blockq</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1fd4e6976e061943d7457e45e8862b92"></a><!-- doxytag: member="_process_struct::reent" ref="1fd4e6976e061943d7457e45e8862b92" args="" --> reent_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__process__struct.html#1fd4e6976e061943d7457e45e8862b92">reent</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Queue on which this process is currently blocked. <br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Process Control Block - Information about the Process. <p> <hr><h2>Field Documentation</h2> <a class="anchor" name="7149acc24786c419376c148341432092"></a><!-- doxytag: member="_process_struct::blockq" ref="7149acc24786c419376c148341432092" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">queuep <a class="el" href="struct__process__struct.html#7149acc24786c419376c148341432092">_process_struct::blockq</a> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> If the PCB has been allocated 0 - Unallocated, 1 - Allocated </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="ktypes_8h.html">ktypes.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Thu Feb 13 14:46:25 2014 for 2014.1_doc by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address> </body> </html>