<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="headertitle">
<divclass="title">tasking.h</div></div>
</div><!--header-->
<divclass="contents">
<ahref="tasking_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div>
<divclass="ttc"id="astructProcess_html_ab6a9356bdc1ccce9be96c863ed81a160"><divclass="ttname"><ahref="structProcess.html#ab6a9356bdc1ccce9be96c863ed81a160">Process::num_threads</a></div><divclass="ttdeci">int num_threads</div><divclass="ttdoc">The number of threads in this process.</div><divclass="ttdef"><b>Definition:</b> tasking.h:37</div></div>
<divclass="ttc"id="astructThread_html_adfbbeb19a2571fa9c650ea9755aa2da7"><divclass="ttname"><ahref="structThread.html#adfbbeb19a2571fa9c650ea9755aa2da7">Thread::prev_thread_in_process</a></div><divclass="ttdeci">struct Thread * prev_thread_in_process</div><divclass="ttdoc">The previous thread in the process.</div><divclass="ttdef"><b>Definition:</b> tasking.h:53</div></div>
<divclass="ttc"id="atasking_8h_html_a4b1b32c1fc744438f665f0f1932dd207aacdc779922a036c6e1bf65ddeea471b8"><divclass="ttname"><ahref="tasking_8h.html#a4b1b32c1fc744438f665f0f1932dd207aacdc779922a036c6e1bf65ddeea471b8">THREAD_WAITING_FOR_RPC_INIT</a></div><divclass="ttdeci">@ THREAD_WAITING_FOR_RPC_INIT</div><divclass="ttdoc">The state of a thread waiting for a process to fully initilaize it's RPC functions.</div><divclass="ttdef"><b>Definition:</b> tasking.h:23</div></div>
<divclass="ttc"id="astructThread_html_a2bfbd768e1c964e4a5479deab077bf43"><divclass="ttname"><ahref="structThread.html#a2bfbd768e1c964e4a5479deab077bf43">Thread::rpc_ret_buf</a></div><divclass="ttdeci">void * rpc_ret_buf</div><divclass="ttdoc">The return buffer of the RPC call that the thread made.</div><divclass="ttdef"><b>Definition:</b> tasking.h:59</div></div>
<divclass="ttc"id="astructThread_html_aab394669e40cdcfb7eb8ca80a2bf76c2"><divclass="ttname"><ahref="structThread.html#aab394669e40cdcfb7eb8ca80a2bf76c2">Thread::rpc_calling_pid</a></div><divclass="ttdeci">pid_t rpc_calling_pid</div><divclass="ttdoc">The PID of the thread that called this RPC (only used for RPC handler threads)</div><divclass="ttdef"><b>Definition:</b> tasking.h:57</div></div>
<divclass="ttc"id="astructThread_html_a05ff1695379212103807ae341e995344"><divclass="ttname"><ahref="structThread.html#a05ff1695379212103807ae341e995344">Thread::state</a></div><divclass="ttdeci">thread_state state</div><divclass="ttdoc">The state of this thread. (running,ready to run,blocked,etc.)</div><divclass="ttdef"><b>Definition:</b> tasking.h:50</div></div>
<divclass="ttc"id="astructProcess_html_a48d146893ce0e6d35cb3b950e9f9b3bd"><divclass="ttname"><ahref="structProcess.html#a48d146893ce0e6d35cb3b950e9f9b3bd">Process::num_threads_blocked</a></div><divclass="ttdeci">int num_threads_blocked</div><divclass="ttdoc">The number of blocked threads in this process.</div><divclass="ttdef"><b>Definition:</b> tasking.h:38</div></div>
<divclass="ttc"id="atasking_8h_html_a4b1b32c1fc744438f665f0f1932dd207acd01ee7d9777106ac78018c1a4c9d0c5"><divclass="ttname"><ahref="tasking_8h.html#a4b1b32c1fc744438f665f0f1932dd207acd01ee7d9777106ac78018c1a4c9d0c5">THREAD_WAITING_FOR_RPC</a></div><divclass="ttdeci">@ THREAD_WAITING_FOR_RPC</div><divclass="ttdoc">The state of a thread waiting for an RPC call to return.</div><divclass="ttdef"><b>Definition:</b> tasking.h:22</div></div>
<divclass="ttc"id="atasking_8h_html_a4b1b32c1fc744438f665f0f1932dd207a4aeda0a1e7e9882ce8b0310833fee46e"><divclass="ttname"><ahref="tasking_8h.html#a4b1b32c1fc744438f665f0f1932dd207a4aeda0a1e7e9882ce8b0310833fee46e">THREAD_BLOCKED</a></div><divclass="ttdeci">@ THREAD_BLOCKED</div><divclass="ttdoc">The state of a generically blocked thread.</div><divclass="ttdef"><b>Definition:</b> tasking.h:21</div></div>
<divclass="ttc"id="atasking_8h_html_a4b1b32c1fc744438f665f0f1932dd207aa5639ff4eff3f959406116db9e020c44"><divclass="ttname"><ahref="tasking_8h.html#a4b1b32c1fc744438f665f0f1932dd207aa5639ff4eff3f959406116db9e020c44">THREAD_RUNNING</a></div><divclass="ttdeci">@ THREAD_RUNNING</div><divclass="ttdoc">The state of a running thread.</div><divclass="ttdef"><b>Definition:</b> tasking.h:18</div></div>
<divclass="ttc"id="astructThread_html_a2e36472c509fe52f73133906c1f26aac"><divclass="ttname"><ahref="structThread.html#a2e36472c509fe52f73133906c1f26aac">Thread::next_thread_in_process</a></div><divclass="ttdeci">struct Thread * next_thread_in_process</div><divclass="ttdoc">The next thread in the process.</div><divclass="ttdef"><b>Definition:</b> tasking.h:52</div></div>
<divclass="ttc"id="astructProcess_html_ade42afe3b9fb94ce3c4baff8aa0e740f"><divclass="ttname"><ahref="structProcess.html#ade42afe3b9fb94ce3c4baff8aa0e740f">Process::next_tid</a></div><divclass="ttdeci">pid_t next_tid</div><divclass="ttdoc">The TID that the next created thread will use.</div><divclass="ttdef"><b>Definition:</b> tasking.h:36</div></div>
<divclass="ttc"id="astructThread_html_a85915c03a5847d0f7c08660c8181a74e"><divclass="ttname"><ahref="structThread.html#a85915c03a5847d0f7c08660c8181a74e">Thread::tid</a></div><divclass="ttdeci">pid_t tid</div><divclass="ttdoc">The TID of this thread.</div><divclass="ttdef"><b>Definition:</b> tasking.h:49</div></div>
<divclass="ttc"id="astructThread_html_a89fab8cc0a3761eb4166c46fd49fa7af"><divclass="ttname"><ahref="structThread.html#a89fab8cc0a3761eb4166c46fd49fa7af">Thread::rpc_calling_tid</a></div><divclass="ttdeci">pid_t rpc_calling_tid</div><divclass="ttdoc">The TID of the thread that called this RPC (only used for RPC handler threads)</div><divclass="ttdef"><b>Definition:</b> tasking.h:58</div></div>
<divclass="ttc"id="atasking_8h_html_a4b1b32c1fc744438f665f0f1932dd207ac9087b7375864c084808109e1e1af5bb"><divclass="ttname"><ahref="tasking_8h.html#a4b1b32c1fc744438f665f0f1932dd207ac9087b7375864c084808109e1e1af5bb">THREAD_EXITED</a></div><divclass="ttdeci">@ THREAD_EXITED</div><divclass="ttdoc">The state of an exited thread.</div><divclass="ttdef"><b>Definition:</b> tasking.h:20</div></div>
<divclass="ttc"id="astructProcess_html_af6d80a830e83c92cf1524041130ecda8"><divclass="ttname"><ahref="structProcess.html#af6d80a830e83c92cf1524041130ecda8">Process::priv</a></div><divclass="ttdeci">char priv</div><divclass="ttdoc">Whether the process is privileged (can execute syscalls to acesss all of memory/has acess to IO ports...</div><divclass="ttdef"><b>Definition:</b> tasking.h:34</div></div>
<divclass="ttc"id="astructProcess_html_af6aa293cc982154a6b4880067258d66b"><divclass="ttname"><ahref="structProcess.html#af6aa293cc982154a6b4880067258d66b">Process::first_thread</a></div><divclass="ttdeci">struct Thread * first_thread</div><divclass="ttdoc">A pointer to the head of the linked list of threads for this process.</div><divclass="ttdef"><b>Definition:</b> tasking.h:39</div></div>
<divclass="ttc"id="astructProcess_html_a2097d5c8b6b2049b837d9e8f37b7176f"><divclass="ttname"><ahref="structProcess.html#a2097d5c8b6b2049b837d9e8f37b7176f">Process::pid</a></div><divclass="ttdeci">pid_t pid</div><divclass="ttdoc">The PID of this process.</div><divclass="ttdef"><b>Definition:</b> tasking.h:35</div></div>
<divclass="ttc"id="astructThread_html_a7bd6ad78697d0bd0e20334a6aca7babb"><divclass="ttname"><ahref="structThread.html#a7bd6ad78697d0bd0e20334a6aca7babb">Thread::next_ready_to_run</a></div><divclass="ttdeci">struct Thread * next_ready_to_run</div><divclass="ttdoc">If the thread is in the ready to run list, this is the next ready to run thread. (potentially in a di...</div><divclass="ttdef"><b>Definition:</b> tasking.h:54</div></div>
<divclass="ttc"id="astructThread_html_acb2fe83a77f2e2eea943869b40e472b0"><divclass="ttname"><ahref="structThread.html#acb2fe83a77f2e2eea943869b40e472b0">Thread::errno</a></div><divclass="ttdeci">int errno</div><divclass="ttdoc">The errno value for this thread.</div><divclass="ttdef"><b>Definition:</b> tasking.h:51</div></div>
<divclass="ttc"id="astructThread_html_ad587532fcef04437ad95e1cfea76ba2f"><divclass="ttname"><ahref="structThread.html#ad587532fcef04437ad95e1cfea76ba2f">Thread::kernel_esp_top</a></div><divclass="ttdeci">void * kernel_esp_top</div><divclass="ttdoc">The top of the thread's kernel stack.</div><divclass="ttdef"><b>Definition:</b> tasking.h:47</div></div>
<divclass="ttc"id="astructThread_html_a446b54c14f79942f79e2e78cf10b2f22"><divclass="ttname"><ahref="structThread.html#a446b54c14f79942f79e2e78cf10b2f22">Thread::prev_ready_to_run</a></div><divclass="ttdeci">struct Thread * prev_ready_to_run</div><divclass="ttdoc">If the thread is in the ready to run list, this is the previous ready to run thread....</div><divclass="ttdef"><b>Definition:</b> tasking.h:55</div></div>
<divclass="ttc"id="astructThread_html_a41198f851a921c04cce111e5d5f4cb0c"><divclass="ttname"><ahref="structThread.html#a41198f851a921c04cce111e5d5f4cb0c">Thread::address_space</a></div><divclass="ttdeci">void * address_space</div><divclass="ttdoc">The address space of this thread. (it is in here and not in the process to simplify the task switch a...</div><divclass="ttdef"><b>Definition:</b> tasking.h:48</div></div>
<divclass="ttc"id="atasking_8h_html_a4b1b32c1fc744438f665f0f1932dd207adc6a307a71277ce8d642b5b916e05042"><divclass="ttname"><ahref="tasking_8h.html#a4b1b32c1fc744438f665f0f1932dd207adc6a307a71277ce8d642b5b916e05042">THREAD_READY</a></div><divclass="ttdeci">@ THREAD_READY</div><divclass="ttdoc">The state of a ready to run thread.</div><divclass="ttdef"><b>Definition:</b> tasking.h:19</div></div>
<liclass="footer">Generated by <ahref="http://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.8.19 </li>