wut/thread_8h_source.html
2016-01-08 17:08:40 +00:00

637 lines
117 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>WUT: D:/Programming/Projects/wut/include/coreinit/thread.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">WUT
&#160;<span id="projectnumber">0.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5050f3de292bd66075be80c4b119f1df.html">coreinit</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">thread.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="thread_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="time_8h.html">time.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="threadqueue_8h.html">threadqueue.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga924296baf430a531adb5135a5cd54207"> 30</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_o_s_context.html">OSContext</a> <a class="code" href="struct_o_s_context.html">OSContext</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga1a46c02caff79a13ecf041e55a454696"> 31</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_o_s_fast_mutex.html">OSFastMutex</a> <a class="code" href="struct_o_s_fast_mutex.html">OSFastMutex</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga6ab521577a62122534149c14253952cb"> 32</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a> <a class="code" href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga42b7c5a07043d7f6c8324f51ac1747c8"> 33</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_o_s_mutex.html">OSMutex</a> <a class="code" href="struct_o_s_mutex.html">OSMutex</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga585231e15c29fd8485e2ef645623fdec"> 34</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a> <a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga21cc46877b04baece01ef544fa06a906"> 35</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_o_s_thread.html">OSThread</a> <a class="code" href="struct_o_s_thread.html">OSThread</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc"> 38</a></span>&#160;<span class="keyword">typedef</span> uint8_t <a class="code" href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">OSThreadState</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7"> 41</a></span>&#160;<span class="keyword">typedef</span> uint32_t <a class="code" href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">OSThreadRequest</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a"> 44</a></span>&#160;<span class="keyword">typedef</span> uint8_t <a class="code" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9"> 46</a></span>&#160;<span class="keyword">typedef</span> int (*<a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a>)(<span class="keywordtype">int</span> argc, <span class="keyword">const</span> <span class="keywordtype">char</span> **argv);</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a"> 47</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a>)(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread, <span class="keywordtype">void</span> *stack);</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422"> 48</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a>)(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread, <span class="keywordtype">void</span> *stack);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga2051f6f880e722ee1c16d7a9b33fc285"> 50</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__coreinit__thread.html#ga2051f6f880e722ee1c16d7a9b33fc285">OS_THREAD_STATE</a></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;{</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc"> 52</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc">OS_THREAD_STATE_NONE</a> = 0,</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f"> 55</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f">OS_THREAD_STATE_READY</a> = 1 &lt;&lt; 0,</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b"> 58</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b">OS_THREAD_STATE_RUNNING</a> = 1 &lt;&lt; 1,</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f"> 61</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f">OS_THREAD_STATE_WAITING</a> = 1 &lt;&lt; 2,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517"> 64</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517">OS_THREAD_STATE_MORIBUND</a> = 1 &lt;&lt; 3,</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;};</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gac1b924b5c296e435eae41f0bf395d02a"> 67</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__coreinit__thread.html#gac1b924b5c296e435eae41f0bf395d02a">OS_THREAD_REQUEST</a></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;{</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0"> 69</a></span>&#160; <a class="code" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0">OS_THREAD_REQUEST_NONE</a> = 0,</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329"> 70</a></span>&#160; <a class="code" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329">OS_THREAD_REQUEST_SUSPEND</a> = 1,</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a"> 71</a></span>&#160; <a class="code" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a">OS_THREAD_REQUEST_CANCEL</a> = 2,</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;};</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga93f63e1c4e8826006db8878c9a6d0519"> 74</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__coreinit__thread.html#ga93f63e1c4e8826006db8878c9a6d0519">OS_THREAD_ATTRIB</a></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;{</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d"> 77</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d">OS_THREAD_ATTRIB_AFFINITY_CPU0</a> = 1 &lt;&lt; 0,</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7"> 80</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7">OS_THREAD_ATTRIB_AFFINITY_CPU1</a> = 1 &lt;&lt; 1,</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c"> 83</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c">OS_THREAD_ATTRIB_AFFINITY_CPU2</a> = 1 &lt;&lt; 2,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b"> 86</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b">OS_THREAD_ATTRIB_AFFINITY_ANY</a> = ((1 &lt;&lt; 0) | (1 &lt;&lt; 1) | (1 &lt;&lt; 2)),</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923"> 89</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923">OS_THREAD_ATTRIB_DETACHED</a> = 1 &lt;&lt; 3,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85"> 92</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85">OS_THREAD_ATTRIB_STACK_USAGE</a> = 1 &lt;&lt; 5</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;};</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga919f76d6fbdcfed27d8a820cf48cd274"> 95</a></span>&#160;<span class="preprocessor">#define OS_CONTEXT_TAG 0x4F53436F6E747874ull</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="struct_o_s_context.html"> 97</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_s_context.html">OSContext</a></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;{</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a51853ee24a1a56a03b7458779997f002"> 100</a></span>&#160; uint64_t <a class="code" href="struct_o_s_context.html#a51853ee24a1a56a03b7458779997f002">tag</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#ace5b78628342742013d28a0c766ce138"> 102</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#ace5b78628342742013d28a0c766ce138">gpr</a>[32];</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a8e23fd42bea24a908273ef614aea3550"> 103</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a8e23fd42bea24a908273ef614aea3550">cr</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a6ced3f4007bb60daf12191c058e55b8c"> 104</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a6ced3f4007bb60daf12191c058e55b8c">lr</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#ab1c7aa939bbb69662d4f65f205d5d45e"> 105</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#ab1c7aa939bbb69662d4f65f205d5d45e">ctr</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#aa9daa81592c3d8d93de24e5050d4d39e"> 106</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#aa9daa81592c3d8d93de24e5050d4d39e">xer</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a5d5223835354a71e51ab50661f1ebdea"> 107</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a5d5223835354a71e51ab50661f1ebdea">srr0</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a994bc9ea1031f1ad305d4d7eaef71f35"> 108</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a994bc9ea1031f1ad305d4d7eaef71f35">srr1</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; UNKNOWN(0x14);</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a1bb7411f9602ddc316f0e483383eb2c9"> 110</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a1bb7411f9602ddc316f0e483383eb2c9">fpscr</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a67485ebee7cded94475a562cbd9d960d"> 111</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="struct_o_s_context.html#a67485ebee7cded94475a562cbd9d960d">fpr</a>[32];</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#ac660bd5ffef46cffbd71af31e664fdc1"> 112</a></span>&#160; uint16_t <a class="code" href="struct_o_s_context.html#ac660bd5ffef46cffbd71af31e664fdc1">spinLockCount</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#af4ea525e6f15623e4e9c6c6aa75f2077"> 113</a></span>&#160; uint16_t <a class="code" href="struct_o_s_context.html#af4ea525e6f15623e4e9c6c6aa75f2077">state</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#af995146e85c329f27212cf3e1a30e25e"> 114</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#af995146e85c329f27212cf3e1a30e25e">gqr</a>[8];</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; UNKNOWN(4);</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a373a185d9090db87a55ed12cf2622a08"> 116</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="struct_o_s_context.html#a373a185d9090db87a55ed12cf2622a08">psf</a>[32];</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a5e7ec153efce1e70b054a47da68ff5f7"> 117</a></span>&#160; uint64_t <a class="code" href="struct_o_s_context.html#a5e7ec153efce1e70b054a47da68ff5f7">coretime</a>[3];</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#ae2730aab7695ca3e81611b0a3ce195c9"> 118</a></span>&#160; uint64_t <a class="code" href="struct_o_s_context.html#ae2730aab7695ca3e81611b0a3ce195c9">starttime</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#aa8d183302fdfa4a6892f1d80300cdb32"> 119</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#aa8d183302fdfa4a6892f1d80300cdb32">error</a>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; UNKNOWN(4);</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a5c7fe32d8c333859adf07d0d51248e08"> 121</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a5c7fe32d8c333859adf07d0d51248e08">pmc1</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#ae13713d587c850fc1bfdcf9b4889217f"> 122</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#ae13713d587c850fc1bfdcf9b4889217f">pmc2</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#ad1b6711759d29126acd1ee809f545a56"> 123</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#ad1b6711759d29126acd1ee809f545a56">pmc3</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#a0581363c9dee8cdaa94dd1d83c6ccc25"> 124</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#a0581363c9dee8cdaa94dd1d83c6ccc25">pmc4</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#af989157a101dc12bb362bcd3b87996ef"> 125</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#af989157a101dc12bb362bcd3b87996ef">mmcr0</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="struct_o_s_context.html#aa99fc1b6a6f591b7b412c53fbcabcd34"> 126</a></span>&#160; uint32_t <a class="code" href="struct_o_s_context.html#aa99fc1b6a6f591b7b412c53fbcabcd34">mmcr1</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;};</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x00, tag);</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x08, gpr);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x88, cr);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x8c, lr);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x90, ctr);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x94, xer);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x98, srr0);</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x9c, srr1);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0xb4, fpscr);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0xb8, fpr);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x1b8, spinLockCount);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x1ba, state);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x1bc, gqr);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x1e0, psf);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x2e0, coretime);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x2f8, starttime);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x300, error);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x308, pmc1);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x30c, pmc2);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x310, pmc3);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x314, pmc4);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x318, mmcr0);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x31c, mmcr1);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;CHECK_SIZE(<a class="code" href="struct_o_s_context.html">OSContext</a>, 0x320);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="struct_o_s_mutex_queue.html"> 153</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;{</div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="struct_o_s_mutex_queue.html#a0896610fffd2641ab3f42ea99b6d147a"> 155</a></span>&#160; <a class="code" href="struct_o_s_mutex.html">OSMutex</a> *<a class="code" href="struct_o_s_mutex_queue.html#a0896610fffd2641ab3f42ea99b6d147a">head</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="struct_o_s_mutex_queue.html#a69d02e959411b8ca397138183d931eae"> 156</a></span>&#160; <a class="code" href="struct_o_s_mutex.html">OSMutex</a> *<a class="code" href="struct_o_s_mutex_queue.html#a69d02e959411b8ca397138183d931eae">tail</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="struct_o_s_mutex_queue.html#a5f450b216725a37cbc0acd54340144d9"> 157</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="struct_o_s_mutex_queue.html#a5f450b216725a37cbc0acd54340144d9">parent</a>;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; UNKNOWN(4);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;};</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a>, 0x0, head);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a>, 0x4, tail);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a>, 0x8, parent);</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;CHECK_SIZE(<a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a>, 0x10);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="struct_o_s_fast_mutex_queue.html"> 165</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;{</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="struct_o_s_fast_mutex_queue.html#ad55284e8266fdfe37e1c0900cf3c72dc"> 167</a></span>&#160; <a class="code" href="struct_o_s_fast_mutex.html">OSFastMutex</a> *<a class="code" href="struct_o_s_fast_mutex_queue.html#ad55284e8266fdfe37e1c0900cf3c72dc">head</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="struct_o_s_fast_mutex_queue.html#a1563f8b9f6ceef503288783aa43fcb86"> 168</a></span>&#160; <a class="code" href="struct_o_s_fast_mutex.html">OSFastMutex</a> *<a class="code" href="struct_o_s_fast_mutex_queue.html#a1563f8b9f6ceef503288783aa43fcb86">tail</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;};</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a>, 0x00, head);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a>, 0x04, tail);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;CHECK_SIZE(<a class="code" href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a>, 0x08);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga557f93deefa5ce76cc300ec1beb0c879"> 174</a></span>&#160;<span class="preprocessor">#define OS_THREAD_TAG 0x74487244u</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="preprocessor">#pragma pack(push, 1)</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html"> 176</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_s_thread.html">OSThread</a></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;{</div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ab690e765a841a6d0748e1d5e7146b093"> 178</a></span>&#160; <a class="code" href="struct_o_s_context.html">OSContext</a> <a class="code" href="struct_o_s_thread.html#ab690e765a841a6d0748e1d5e7146b093">context</a>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a1c50fcd1195659821729f52af8f3bb7d"> 181</a></span>&#160; uint32_t <a class="code" href="struct_o_s_thread.html#a1c50fcd1195659821729f52af8f3bb7d">tag</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a18fc1c8e9296f17ef97a86147387d8b4"> 184</a></span>&#160; OSThreadState <a class="code" href="struct_o_s_thread.html#a18fc1c8e9296f17ef97a86147387d8b4">state</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a153ded885759fdfe2b26d53afbbba830"> 187</a></span>&#160; OSThreadAttributes <a class="code" href="struct_o_s_thread.html#a153ded885759fdfe2b26d53afbbba830">attr</a>;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a4fc3a0c58dfbd1e68224521185cb9384"> 190</a></span>&#160; uint16_t <a class="code" href="struct_o_s_thread.html#a4fc3a0c58dfbd1e68224521185cb9384">id</a>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#abf662d124c8c0e60275f632c06d97dd1"> 193</a></span>&#160; int32_t <a class="code" href="struct_o_s_thread.html#abf662d124c8c0e60275f632c06d97dd1">suspendCounter</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a41b7c4ba47c44a632d5903b1f1338ad0"> 196</a></span>&#160; int32_t <a class="code" href="struct_o_s_thread.html#a41b7c4ba47c44a632d5903b1f1338ad0">priority</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a6a68a5710d475b823ee9efb0396cdf49"> 199</a></span>&#160; int32_t <a class="code" href="struct_o_s_thread.html#a6a68a5710d475b823ee9efb0396cdf49">basePriority</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ab3b846817f872aed4903032f00d16246"> 202</a></span>&#160; int32_t <a class="code" href="struct_o_s_thread.html#ab3b846817f872aed4903032f00d16246">exitValue</a>;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; UNKNOWN(0x35C - 0x338);</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ab426d2b1b54499adfbda3a7922e69ff0"> 207</a></span>&#160; <a class="code" href="struct_o_s_thread_queue.html">OSThreadQueue</a> *<a class="code" href="struct_o_s_thread.html#ab426d2b1b54499adfbda3a7922e69ff0">queue</a>;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#af7a13b9b9c0c4a91fd90af02e7ea7771"> 210</a></span>&#160; <a class="code" href="struct_o_s_thread_link.html">OSThreadLink</a> <a class="code" href="struct_o_s_thread.html#af7a13b9b9c0c4a91fd90af02e7ea7771">link</a>;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ae12b5a541aff405df56ed7abfa97e3b4"> 213</a></span>&#160; <a class="code" href="struct_o_s_thread_queue.html">OSThreadQueue</a> <a class="code" href="struct_o_s_thread.html#ae12b5a541aff405df56ed7abfa97e3b4">joinQueue</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a8f0e11d3f286a61d3ed336429d317abf"> 216</a></span>&#160; <a class="code" href="struct_o_s_mutex.html">OSMutex</a> *<a class="code" href="struct_o_s_thread.html#a8f0e11d3f286a61d3ed336429d317abf">mutex</a>;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a1a546bbd037b80cd528453546cf0a341"> 219</a></span>&#160; <a class="code" href="struct_o_s_mutex_queue.html">OSMutexQueue</a> <a class="code" href="struct_o_s_thread.html#a1a546bbd037b80cd528453546cf0a341">mutexQueue</a>;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a01d3b93eba14965d9aba07081986d663"> 222</a></span>&#160; <a class="code" href="struct_o_s_thread_link.html">OSThreadLink</a> <a class="code" href="struct_o_s_thread.html#a01d3b93eba14965d9aba07081986d663">activeLink</a>;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#acbe2c909215dcda5e24aabd7dd5995de"> 225</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="struct_o_s_thread.html#acbe2c909215dcda5e24aabd7dd5995de">stackStart</a>;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#afcde11463f0a6ad5922e39525ec03c7e"> 228</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="struct_o_s_thread.html#afcde11463f0a6ad5922e39525ec03c7e">stackEnd</a>;</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a5b1f5074d3ad451216e44edd1b73bc1d"> 231</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> <a class="code" href="struct_o_s_thread.html#a5b1f5074d3ad451216e44edd1b73bc1d">entryPoint</a>;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; UNKNOWN(0x57c - 0x3a0);</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ac9fe2bd7981969cd8071bcc5e4aeb40b"> 236</a></span>&#160; uint32_t <a class="code" href="struct_o_s_thread.html#ac9fe2bd7981969cd8071bcc5e4aeb40b">specific</a>[0x10];</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; UNKNOWN(0x5c0 - 0x5bc);</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a8f8f80d37794cde9472343e4487ba3eb"> 241</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="struct_o_s_thread.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; UNKNOWN(0x4);</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a234a19eb0790f50fe6be08397cbafd46"> 246</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="struct_o_s_thread.html#a234a19eb0790f50fe6be08397cbafd46">userStackPointer</a>;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ace4c76a6af356088cb17b29968e3fc7d"> 249</a></span>&#160; <a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a> <a class="code" href="struct_o_s_thread.html#ace4c76a6af356088cb17b29968e3fc7d">cleanupCallback</a>;</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a26a9241292d04c9c6fe64a140aff3665"> 252</a></span>&#160; <a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a> <a class="code" href="struct_o_s_thread.html#a26a9241292d04c9c6fe64a140aff3665">deallocator</a>;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#aaf5c9c6f6be9a468c705d9f3c39f6904"> 255</a></span>&#160; <a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> <a class="code" href="struct_o_s_thread.html#aaf5c9c6f6be9a468c705d9f3c39f6904">cancelState</a>;</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a9ec25c03ad5e1dc83c7f66950ce6e4ff"> 258</a></span>&#160; OSThreadRequest <a class="code" href="struct_o_s_thread.html#a9ec25c03ad5e1dc83c7f66950ce6e4ff">requestFlag</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#a37e895fcd32c37e6a2962a948296bf64"> 261</a></span>&#160; int32_t <a class="code" href="struct_o_s_thread.html#a37e895fcd32c37e6a2962a948296bf64">needSuspend</a>;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ac4c316e77fc64758b15a09a6b5756bb1"> 264</a></span>&#160; int32_t <a class="code" href="struct_o_s_thread.html#ac4c316e77fc64758b15a09a6b5756bb1">suspendResult</a>;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;</div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="struct_o_s_thread.html#ac466ad7864ccba783b664db7b8853b71"> 267</a></span>&#160; <a class="code" href="struct_o_s_thread_queue.html">OSThreadQueue</a> <a class="code" href="struct_o_s_thread.html#ac466ad7864ccba783b664db7b8853b71">suspendQueue</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; UNKNOWN(0x69c - 0x5f4);</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;};</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;<span class="preprocessor">#pragma pack(pop)</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x320, tag);</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x324, state);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x325, attr);</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x326, <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x328, suspendCounter);</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x32c, priority);</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x330, basePriority);</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x334, exitValue);</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x35c, queue);</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x360, link);</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x368, joinQueue);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x378, mutex);</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x37c, mutexQueue);</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x38c, activeLink);</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x394, stackStart);</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x398, stackEnd);</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x39c, entryPoint);</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x57c, specific);</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5c0, name);</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5c8, userStackPointer);</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5cc, cleanupCallback);</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5d0, deallocator);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5d4, cancelState);</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5d8, requestFlag);</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5dc, needSuspend);</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5e0, suspendResult);</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;CHECK_OFFSET(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x5e4, suspendQueue);</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;CHECK_SIZE(<a class="code" href="struct_o_s_thread.html">OSThread</a>, 0x69c);</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<a class="code" href="group__coreinit__thread.html#ga4dc00e8b9758c58fbdbb73350637f805">OSCancelThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;int32_t</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;<a class="code" href="group__coreinit__thread.html#ga0b90395dabd5e3077b274f8dd65fe5bb">OSCheckActiveThreads</a>();</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;int32_t</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;<a class="code" href="group__coreinit__thread.html#ga2bfc1c71ab2551fa12c1dd26c8c9efce">OSCheckThreadStackUsage</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160;</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;<a class="code" href="group__coreinit__thread.html#gaf3ca5305804fa4552529c5912c96ce2b">OSClearThreadStackUsage</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160;</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;<a class="code" href="group__coreinit__thread.html#ga6aa2bd70bb3560ca3811aa0215971cf8">OSContinueThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160;<a class="code" href="group__coreinit__thread.html#ga558f8aecea78aa6a81817c1d1fcbe8b1">OSCreateThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entry,</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; int32_t argc,</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordtype">char</span> *argv,</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keywordtype">void</span> *stack,</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; uint32_t stackSize,</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; int32_t priority,</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; OSThreadAttributes attributes);</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160;</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;<a class="code" href="group__coreinit__thread.html#ga5c8cbb581c038073ea97105cbc389e73">OSDetachThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160;</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160;</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;<a class="code" href="group__coreinit__thread.html#ga481f2365b62f2ed1b7cda3d0bec91ff2">OSExitThread</a>(int32_t result);</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160;</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;<a class="code" href="group__coreinit__thread.html#ga541eec9e102156579ad86cc440d741b1">OSGetActiveThreadLink</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <a class="code" href="struct_o_s_thread_link.html">OSThreadLink</a> *link);</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;<a class="code" href="struct_o_s_thread.html">OSThread</a> *</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;<a class="code" href="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">OSGetCurrentThread</a>();</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160;</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160;</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160;<a class="code" href="struct_o_s_thread.html">OSThread</a> *</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160;<a class="code" href="group__coreinit__thread.html#gad10a0ac959b7542472ae547a1e38b2b7">OSGetDefaultThread</a>(uint32_t coreID);</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160;</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;uint32_t</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;<a class="code" href="group__coreinit__thread.html#ga42e2be4ac798739e6b6e947099547921">OSGetStackPointer</a>();</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160;</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;uint32_t</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;<a class="code" href="group__coreinit__thread.html#ga62e2afe54836ced17ce04b005b9be728">OSGetThreadAffinity</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160;</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160;<a class="code" href="group__coreinit__thread.html#ga308e195cdc22b0290ea5b84774bf481e">OSGetThreadName</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160;</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160;</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;int32_t</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160;<a class="code" href="group__coreinit__thread.html#ga9e1c9d9b8de8927fb46276114a2f43ec">OSGetThreadPriority</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160;</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160;</div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;uint32_t</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160;<a class="code" href="group__coreinit__thread.html#ga467707b2709b2636dae204e0d2c2f49a">OSGetThreadSpecific</a>(uint32_t <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160;</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;<a class="code" href="group__coreinit__thread.html#ga0074df288baf29c18a7c823c258ba353">OSIsThreadSuspended</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160;</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;<a class="code" href="group__coreinit__thread.html#ga0bec4859c6c3575439660463ab58fc14">OSIsThreadTerminated</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160;</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160;<a class="code" href="group__coreinit__thread.html#gabadb986bf587ed067719230d0194e432">OSJoinThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; <span class="keywordtype">int</span> *threadResult);</div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160;</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160;</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160;int32_t</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160;<a class="code" href="group__coreinit__thread.html#ga8e47bab6ad06370cbb0990d979e1729b">OSResumeThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160;</div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160;</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160;<a class="code" href="group__coreinit__thread.html#gaa3241ca6d126d3b4dc4be94d9836f573">OSRunThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; <a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entry,</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; <span class="keywordtype">int</span> argc,</div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> **argv);</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;</div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160;</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160;<a class="code" href="group__coreinit__thread.html#ga64b826e25d3352b17abf9a1e4243837e">OSSetThreadAffinity</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; uint32_t affinity);</div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;</div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;</div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160;<a class="code" href="group__coreinit__thread.html#ga5ab3e3f830d155273978285c2ee0670f">OSSetThreadCancelState</a>(<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> state);</div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;</div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160;<a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a></div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;<a class="code" href="group__coreinit__thread.html#gaddb66bd8a4fcdd50eec34e0eaabaa4ea">OSSetThreadCleanupCallback</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; <a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a> callback);</div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;</div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160;</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160;<a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a></div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160;<a class="code" href="group__coreinit__thread.html#gab5f71458522cd623a26fda4bc7a08706">OSSetThreadDeallocator</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; <a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a> deallocator);</div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160;</div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160;</div>
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160;<a class="code" href="group__coreinit__thread.html#gaf73770f5c74390d22caa7e993e667984">OSSetThreadName</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160;</div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160;</div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;<a class="code" href="group__coreinit__thread.html#gaf949db9990798fe799eef6f10400febc">OSSetThreadPriority</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; int32_t priority);</div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160;</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;</div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160;<a class="code" href="group__coreinit__thread.html#gabcdf5e618af28ab7d0eb1dcc9dfc9d36">OSSetThreadRunQuantum</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread,</div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; uint32_t quantum);</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160;</div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;<a class="code" href="group__coreinit__thread.html#ga23deff033f4c5580a763547200ba9145">OSSetThreadSpecific</a>(uint32_t <span class="keywordtype">id</span>,</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; uint32_t value);</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160;</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160;</div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160;<a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160;<a class="code" href="group__coreinit__thread.html#ga3be0f7ef0eed586ef8bf5d57f3cd1dfa">OSSetThreadStackUsage</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;</div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;</div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;<a class="code" href="group__coreinit__thread.html#ga40601ddddabf312483c9a3da0a924fa6">OSSleepThread</a>(<a class="code" href="struct_o_s_thread_queue.html">OSThreadQueue</a> *queue);</div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160;</div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160;</div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160;<a class="code" href="group__coreinit__thread.html#gaec240f68873bb19c753cfdd346264c17">OSSleepTicks</a>(<a class="code" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> ticks);</div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160;</div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160;</div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160;uint32_t</div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160;<a class="code" href="group__coreinit__thread.html#ga97d4800cbe08b3e3cd68906a197bf587">OSSuspendThread</a>(<a class="code" href="struct_o_s_thread.html">OSThread</a> *thread);</div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160;</div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;</div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160;<a class="code" href="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">OSTestThreadCancel</a>();</div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;</div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;</div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<a class="code" href="group__coreinit__thread.html#ga233d3d678de8dcccceb18424e24950b8">OSWakeupThread</a>(<a class="code" href="struct_o_s_thread_queue.html">OSThreadQueue</a> *queue);</div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160;</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;<a class="code" href="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">OSYieldThread</a>();</div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;}</div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;</div>
<div class="ttc" id="struct_o_s_thread_html_ace4c76a6af356088cb17b29968e3fc7d"><div class="ttname"><a href="struct_o_s_thread.html#ace4c76a6af356088cb17b29968e3fc7d">OSThread::cleanupCallback</a></div><div class="ttdeci">OSThreadCleanupCallbackFn cleanupCallback</div><div class="ttdoc">Called just before thread is terminated, set with OSSetThreadCleanupCallback. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00249">thread.h:249</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a26a9241292d04c9c6fe64a140aff3665"><div class="ttname"><a href="struct_o_s_thread.html#a26a9241292d04c9c6fe64a140aff3665">OSThread::deallocator</a></div><div class="ttdeci">OSThreadDeallocatorFn deallocator</div><div class="ttdoc">Called just after a thread is terminated, set with OSSetThreadDeallocator. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00252">thread.h:252</a></div></div>
<div class="ttc" id="struct_o_s_context_html_af989157a101dc12bb362bcd3b87996ef"><div class="ttname"><a href="struct_o_s_context.html#af989157a101dc12bb362bcd3b87996ef">OSContext::mmcr0</a></div><div class="ttdeci">uint32_t mmcr0</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00125">thread.h:125</a></div></div>
<div class="ttc" id="struct_o_s_context_html_ace5b78628342742013d28a0c766ce138"><div class="ttname"><a href="struct_o_s_context.html#ace5b78628342742013d28a0c766ce138">OSContext::gpr</a></div><div class="ttdeci">uint32_t gpr[32]</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00102">thread.h:102</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga23deff033f4c5580a763547200ba9145"><div class="ttname"><a href="group__coreinit__thread.html#ga23deff033f4c5580a763547200ba9145">OSSetThreadSpecific</a></div><div class="ttdeci">void OSSetThreadSpecific(uint32_t id, uint32_t value)</div></div>
<div class="ttc" id="struct_o_s_context_html_a994bc9ea1031f1ad305d4d7eaef71f35"><div class="ttname"><a href="struct_o_s_context.html#a994bc9ea1031f1ad305d4d7eaef71f35">OSContext::srr1</a></div><div class="ttdeci">uint32_t srr1</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00108">thread.h:108</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a41b7c4ba47c44a632d5903b1f1338ad0"><div class="ttname"><a href="struct_o_s_thread.html#a41b7c4ba47c44a632d5903b1f1338ad0">OSThread::priority</a></div><div class="ttdeci">int32_t priority</div><div class="ttdoc">Actual priority of thread. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00196">thread.h:196</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_af7a13b9b9c0c4a91fd90af02e7ea7771"><div class="ttname"><a href="struct_o_s_thread.html#af7a13b9b9c0c4a91fd90af02e7ea7771">OSThread::link</a></div><div class="ttdeci">OSThreadLink link</div><div class="ttdoc">Link used for thread queue. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00210">thread.h:210</a></div></div>
<div class="ttc" id="struct_o_s_context_html_af995146e85c329f27212cf3e1a30e25e"><div class="ttname"><a href="struct_o_s_context.html#af995146e85c329f27212cf3e1a30e25e">OSContext::gqr</a></div><div class="ttdeci">uint32_t gqr[8]</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00114">thread.h:114</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ab426d2b1b54499adfbda3a7922e69ff0"><div class="ttname"><a href="struct_o_s_thread.html#ab426d2b1b54499adfbda3a7922e69ff0">OSThread::queue</a></div><div class="ttdeci">OSThreadQueue * queue</div><div class="ttdoc">Queue the thread is currently waiting on. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00207">thread.h:207</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ab690e765a841a6d0748e1d5e7146b093"><div class="ttname"><a href="struct_o_s_thread.html#ab690e765a841a6d0748e1d5e7146b093">OSThread::context</a></div><div class="ttdeci">OSContext context</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00178">thread.h:178</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga558f8aecea78aa6a81817c1d1fcbe8b1"><div class="ttname"><a href="group__coreinit__thread.html#ga558f8aecea78aa6a81817c1d1fcbe8b1">OSCreateThread</a></div><div class="ttdeci">BOOL OSCreateThread(OSThread *thread, OSThreadEntryPointFn entry, int32_t argc, char *argv, void *stack, uint32_t stackSize, int32_t priority, OSThreadAttributes attributes)</div></div>
<div class="ttc" id="struct_o_s_fast_mutex_html"><div class="ttname"><a href="struct_o_s_fast_mutex.html">OSFastMutex</a></div><div class="ttdef"><b>Definition:</b> <a href="fastmutex_8h_source.html#l00033">fastmutex.h:33</a></div></div>
<div class="ttc" id="group__coreinit__time_html_ga4d4f771188f6c29e758ed6b3b8347b4d"><div class="ttname"><a href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a></div><div class="ttdeci">int64_t OSTime</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00017">time.h:17</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga2bfc1c71ab2551fa12c1dd26c8c9efce"><div class="ttname"><a href="group__coreinit__thread.html#ga2bfc1c71ab2551fa12c1dd26c8c9efce">OSCheckThreadStackUsage</a></div><div class="ttdeci">int32_t OSCheckThreadStackUsage(OSThread *thread)</div></div>
<div class="ttc" id="struct_o_s_context_html_a67485ebee7cded94475a562cbd9d960d"><div class="ttname"><a href="struct_o_s_context.html#a67485ebee7cded94475a562cbd9d960d">OSContext::fpr</a></div><div class="ttdeci">double fpr[32]</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00111">thread.h:111</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_abf662d124c8c0e60275f632c06d97dd1"><div class="ttname"><a href="struct_o_s_thread.html#abf662d124c8c0e60275f632c06d97dd1">OSThread::suspendCounter</a></div><div class="ttdeci">int32_t suspendCounter</div><div class="ttdoc">Suspend count (increased by OSSuspendThread). </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00193">thread.h:193</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a51853ee24a1a56a03b7458779997f002"><div class="ttname"><a href="struct_o_s_context.html#a51853ee24a1a56a03b7458779997f002">OSContext::tag</a></div><div class="ttdeci">uint64_t tag</div><div class="ttdoc">Should always be set to the value OS_CONTEXT_TAG. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00100">thread.h:100</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gad10a0ac959b7542472ae547a1e38b2b7"><div class="ttname"><a href="group__coreinit__thread.html#gad10a0ac959b7542472ae547a1e38b2b7">OSGetDefaultThread</a></div><div class="ttdeci">OSThread * OSGetDefaultThread(uint32_t coreID)</div></div>
<div class="ttc" id="group__coreinit__thread_html_ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a"><div class="ttname"><a href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a">OS_THREAD_REQUEST_CANCEL</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00071">thread.h:71</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a6a68a5710d475b823ee9efb0396cdf49"><div class="ttname"><a href="struct_o_s_thread.html#a6a68a5710d475b823ee9efb0396cdf49">OSThread::basePriority</a></div><div class="ttdeci">int32_t basePriority</div><div class="ttdoc">Base priority of thread, 0 is highest priority, 31 is lowest priority. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00199">thread.h:199</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga47c38b62e66b6163f6b080a35830897a"><div class="ttname"><a href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a></div><div class="ttdeci">uint8_t OSThreadAttributes</div><div class="ttdoc">A bitfield of enum OS_THREAD_ATTRIB. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00044">thread.h:44</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga3665f0196d1fc7983ad7a311fa1bfc37"><div class="ttname"><a href="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">OSGetCurrentThread</a></div><div class="ttdeci">OSThread * OSGetCurrentThread()</div></div>
<div class="ttc" id="group__coreinit__thread_html_ga9e1c9d9b8de8927fb46276114a2f43ec"><div class="ttname"><a href="group__coreinit__thread.html#ga9e1c9d9b8de8927fb46276114a2f43ec">OSGetThreadPriority</a></div><div class="ttdeci">int32_t OSGetThreadPriority(OSThread *thread)</div></div>
<div class="ttc" id="group__coreinit__thread_html_ga4dc00e8b9758c58fbdbb73350637f805"><div class="ttname"><a href="group__coreinit__thread.html#ga4dc00e8b9758c58fbdbb73350637f805">OSCancelThread</a></div><div class="ttdeci">void OSCancelThread(OSThread *thread)</div></div>
<div class="ttc" id="struct_o_s_context_html_a5c7fe32d8c333859adf07d0d51248e08"><div class="ttname"><a href="struct_o_s_context.html#a5c7fe32d8c333859adf07d0d51248e08">OSContext::pmc1</a></div><div class="ttdeci">uint32_t pmc1</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00121">thread.h:121</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga2b4866b3e51f4690fd197462d2cdebe7"><div class="ttname"><a href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">OSThreadRequest</a></div><div class="ttdeci">uint32_t OSThreadRequest</div><div class="ttdoc">A value from enum OS_THREAD_REQUEST. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00041">thread.h:41</a></div></div>
<div class="ttc" id="time_8h_html"><div class="ttname"><a href="time_8h.html">time.h</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="struct_o_s_thread.html#a8f8f80d37794cde9472343e4487ba3eb">OSThread::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Thread name, accessed with OSSetThreadName and OSGetThreadName. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00241">thread.h:241</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a4fc3a0c58dfbd1e68224521185cb9384"><div class="ttname"><a href="struct_o_s_thread.html#a4fc3a0c58dfbd1e68224521185cb9384">OSThread::id</a></div><div class="ttdeci">uint16_t id</div><div class="ttdoc">Unique thread ID. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00190">thread.h:190</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b">OS_THREAD_STATE_RUNNING</a></div><div class="ttdoc">Thread is running. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00058">thread.h:58</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gaec240f68873bb19c753cfdd346264c17"><div class="ttname"><a href="group__coreinit__thread.html#gaec240f68873bb19c753cfdd346264c17">OSSleepTicks</a></div><div class="ttdeci">void OSSleepTicks(OSTime ticks)</div></div>
<div class="ttc" id="struct_o_s_thread_html_acbe2c909215dcda5e24aabd7dd5995de"><div class="ttname"><a href="struct_o_s_thread.html#acbe2c909215dcda5e24aabd7dd5995de">OSThread::stackStart</a></div><div class="ttdeci">void * stackStart</div><div class="ttdoc">Stack start (top, highest address) </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00225">thread.h:225</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gac8fa3d74d8d161709d327e38eb426422"><div class="ttname"><a href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a></div><div class="ttdeci">void(* OSThreadDeallocatorFn)(OSThread *thread, void *stack)</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00048">thread.h:48</a></div></div>
<div class="ttc" id="struct_o_s_context_html"><div class="ttname"><a href="struct_o_s_context.html">OSContext</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00097">thread.h:97</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga0074df288baf29c18a7c823c258ba353"><div class="ttname"><a href="group__coreinit__thread.html#ga0074df288baf29c18a7c823c258ba353">OSIsThreadSuspended</a></div><div class="ttdeci">BOOL OSIsThreadSuspended(OSThread *thread)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923">OS_THREAD_ATTRIB_DETACHED</a></div><div class="ttdoc">Start the thread detached. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00089">thread.h:89</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gaabc089f75f232061a8ba1c2f4d3a9169"><div class="ttname"><a href="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">OSYieldThread</a></div><div class="ttdeci">void OSYieldThread()</div></div>
<div class="ttc" id="group__coreinit__thread_html_ga308e195cdc22b0290ea5b84774bf481e"><div class="ttname"><a href="group__coreinit__thread.html#ga308e195cdc22b0290ea5b84774bf481e">OSGetThreadName</a></div><div class="ttdeci">const char * OSGetThreadName(OSThread *thread)</div></div>
<div class="ttc" id="struct_o_s_context_html_ad1b6711759d29126acd1ee809f545a56"><div class="ttname"><a href="struct_o_s_context.html#ad1b6711759d29126acd1ee809f545a56">OSContext::pmc3</a></div><div class="ttdeci">uint32_t pmc3</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00123">thread.h:123</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga2051f6f880e722ee1c16d7a9b33fc285"><div class="ttname"><a href="group__coreinit__thread.html#ga2051f6f880e722ee1c16d7a9b33fc285">OS_THREAD_STATE</a></div><div class="ttdeci">OS_THREAD_STATE</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00050">thread.h:50</a></div></div>
<div class="ttc" id="threadqueue_8h_html"><div class="ttname"><a href="threadqueue_8h.html">threadqueue.h</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ab3b846817f872aed4903032f00d16246"><div class="ttname"><a href="struct_o_s_thread.html#ab3b846817f872aed4903032f00d16246">OSThread::exitValue</a></div><div class="ttdeci">int32_t exitValue</div><div class="ttdoc">Exit value. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00202">thread.h:202</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a01d3b93eba14965d9aba07081986d663"><div class="ttname"><a href="struct_o_s_thread.html#a01d3b93eba14965d9aba07081986d663">OSThread::activeLink</a></div><div class="ttdeci">OSThreadLink activeLink</div><div class="ttdoc">Link for global active thread queue. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00222">thread.h:222</a></div></div>
<div class="ttc" id="struct_o_s_mutex_queue_html_a69d02e959411b8ca397138183d931eae"><div class="ttname"><a href="struct_o_s_mutex_queue.html#a69d02e959411b8ca397138183d931eae">OSMutexQueue::tail</a></div><div class="ttdeci">OSMutex * tail</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00156">thread.h:156</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329"><div class="ttname"><a href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329">OS_THREAD_REQUEST_SUSPEND</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00070">thread.h:70</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gabcdf5e618af28ab7d0eb1dcc9dfc9d36"><div class="ttname"><a href="group__coreinit__thread.html#gabcdf5e618af28ab7d0eb1dcc9dfc9d36">OSSetThreadRunQuantum</a></div><div class="ttdeci">BOOL OSSetThreadRunQuantum(OSThread *thread, uint32_t quantum)</div></div>
<div class="ttc" id="struct_o_s_thread_html_a153ded885759fdfe2b26d53afbbba830"><div class="ttname"><a href="struct_o_s_thread.html#a153ded885759fdfe2b26d53afbbba830">OSThread::attr</a></div><div class="ttdeci">OSThreadAttributes attr</div><div class="ttdoc">Bitfield of OS_THREAD_ATTRIB. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00187">thread.h:187</a></div></div>
<div class="ttc" id="struct_o_s_context_html_ab1c7aa939bbb69662d4f65f205d5d45e"><div class="ttname"><a href="struct_o_s_context.html#ab1c7aa939bbb69662d4f65f205d5d45e">OSContext::ctr</a></div><div class="ttdeci">uint32_t ctr</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00105">thread.h:105</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga97d4800cbe08b3e3cd68906a197bf587"><div class="ttname"><a href="group__coreinit__thread.html#ga97d4800cbe08b3e3cd68906a197bf587">OSSuspendThread</a></div><div class="ttdeci">uint32_t OSSuspendThread(OSThread *thread)</div></div>
<div class="ttc" id="struct_o_s_thread_html"><div class="ttname"><a href="struct_o_s_thread.html">OSThread</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00176">thread.h:176</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a18fc1c8e9296f17ef97a86147387d8b4"><div class="ttname"><a href="struct_o_s_thread.html#a18fc1c8e9296f17ef97a86147387d8b4">OSThread::state</a></div><div class="ttdeci">OSThreadState state</div><div class="ttdoc">Bitfield of OS_THREAD_STATE. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00184">thread.h:184</a></div></div>
<div class="ttc" id="struct_o_s_mutex_queue_html"><div class="ttname"><a href="struct_o_s_mutex_queue.html">OSMutexQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00153">thread.h:153</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga5c8cbb581c038073ea97105cbc389e73"><div class="ttname"><a href="group__coreinit__thread.html#ga5c8cbb581c038073ea97105cbc389e73">OSDetachThread</a></div><div class="ttdeci">void OSDetachThread(OSThread *thread)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b">OS_THREAD_ATTRIB_AFFINITY_ANY</a></div><div class="ttdoc">Allow the thread to run any CPU. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00086">thread.h:86</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga1c33fd51f40dec4bfff9d98992c7e2cc"><div class="ttname"><a href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">OSThreadState</a></div><div class="ttdeci">uint8_t OSThreadState</div><div class="ttdoc">A value from enum OS_THREAD_STATE. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00038">thread.h:38</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga5ab3e3f830d155273978285c2ee0670f"><div class="ttname"><a href="group__coreinit__thread.html#ga5ab3e3f830d155273978285c2ee0670f">OSSetThreadCancelState</a></div><div class="ttdeci">BOOL OSSetThreadCancelState(BOOL state)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gab5cdc96dcec643891f88be54830acae9"><div class="ttname"><a href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a></div><div class="ttdeci">int(* OSThreadEntryPointFn)(int argc, const char **argv)</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00046">thread.h:46</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gaf949db9990798fe799eef6f10400febc"><div class="ttname"><a href="group__coreinit__thread.html#gaf949db9990798fe799eef6f10400febc">OSSetThreadPriority</a></div><div class="ttdeci">BOOL OSSetThreadPriority(OSThread *thread, int32_t priority)</div></div>
<div class="ttc" id="group__coreinit__thread_html_ga8e47bab6ad06370cbb0990d979e1729b"><div class="ttname"><a href="group__coreinit__thread.html#ga8e47bab6ad06370cbb0990d979e1729b">OSResumeThread</a></div><div class="ttdeci">int32_t OSResumeThread(OSThread *thread)</div></div>
<div class="ttc" id="struct_o_s_thread_html_a37e895fcd32c37e6a2962a948296bf64"><div class="ttname"><a href="struct_o_s_thread.html#a37e895fcd32c37e6a2962a948296bf64">OSThread::needSuspend</a></div><div class="ttdeci">int32_t needSuspend</div><div class="ttdoc">Pending suspend request count. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00261">thread.h:261</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a8f0e11d3f286a61d3ed336429d317abf"><div class="ttname"><a href="struct_o_s_thread.html#a8f0e11d3f286a61d3ed336429d317abf">OSThread::mutex</a></div><div class="ttdeci">OSMutex * mutex</div><div class="ttdoc">Mutex this thread is waiting to lock. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00216">thread.h:216</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc">OS_THREAD_STATE_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00052">thread.h:52</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga93f63e1c4e8826006db8878c9a6d0519"><div class="ttname"><a href="group__coreinit__thread.html#ga93f63e1c4e8826006db8878c9a6d0519">OS_THREAD_ATTRIB</a></div><div class="ttdeci">OS_THREAD_ATTRIB</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00074">thread.h:74</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gac1b924b5c296e435eae41f0bf395d02a"><div class="ttname"><a href="group__coreinit__thread.html#gac1b924b5c296e435eae41f0bf395d02a">OS_THREAD_REQUEST</a></div><div class="ttdeci">OS_THREAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00067">thread.h:67</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a5d5223835354a71e51ab50661f1ebdea"><div class="ttname"><a href="struct_o_s_context.html#a5d5223835354a71e51ab50661f1ebdea">OSContext::srr0</a></div><div class="ttdeci">uint32_t srr0</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00107">thread.h:107</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga42e2be4ac798739e6b6e947099547921"><div class="ttname"><a href="group__coreinit__thread.html#ga42e2be4ac798739e6b6e947099547921">OSGetStackPointer</a></div><div class="ttdeci">uint32_t OSGetStackPointer()</div></div>
<div class="ttc" id="struct_o_s_thread_html_aaf5c9c6f6be9a468c705d9f3c39f6904"><div class="ttname"><a href="struct_o_s_thread.html#aaf5c9c6f6be9a468c705d9f3c39f6904">OSThread::cancelState</a></div><div class="ttdeci">BOOL cancelState</div><div class="ttdoc">If TRUE then a thread can be cancelled or suspended, set with OSSetThreadCancelState. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00255">thread.h:255</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga541eec9e102156579ad86cc440d741b1"><div class="ttname"><a href="group__coreinit__thread.html#ga541eec9e102156579ad86cc440d741b1">OSGetActiveThreadLink</a></div><div class="ttdeci">void OSGetActiveThreadLink(OSThread *thread, OSThreadLink *link)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c">OS_THREAD_ATTRIB_AFFINITY_CPU2</a></div><div class="ttdoc">Allow the thread to run on CPU2. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00083">thread.h:83</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga0b90395dabd5e3077b274f8dd65fe5bb"><div class="ttname"><a href="group__coreinit__thread.html#ga0b90395dabd5e3077b274f8dd65fe5bb">OSCheckActiveThreads</a></div><div class="ttdeci">int32_t OSCheckActiveThreads()</div></div>
<div class="ttc" id="struct_o_s_thread_html_afcde11463f0a6ad5922e39525ec03c7e"><div class="ttname"><a href="struct_o_s_thread.html#afcde11463f0a6ad5922e39525ec03c7e">OSThread::stackEnd</a></div><div class="ttdeci">void * stackEnd</div><div class="ttdoc">Stack end (bottom, lowest address) </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00228">thread.h:228</a></div></div>
<div class="ttc" id="struct_o_s_mutex_queue_html_a5f450b216725a37cbc0acd54340144d9"><div class="ttname"><a href="struct_o_s_mutex_queue.html#a5f450b216725a37cbc0acd54340144d9">OSMutexQueue::parent</a></div><div class="ttdeci">void * parent</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00157">thread.h:157</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a8e23fd42bea24a908273ef614aea3550"><div class="ttname"><a href="struct_o_s_context.html#a8e23fd42bea24a908273ef614aea3550">OSContext::cr</a></div><div class="ttdeci">uint32_t cr</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00103">thread.h:103</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d">OS_THREAD_ATTRIB_AFFINITY_CPU0</a></div><div class="ttdoc">Allow the thread to run on CPU0. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00077">thread.h:77</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga64b826e25d3352b17abf9a1e4243837e"><div class="ttname"><a href="group__coreinit__thread.html#ga64b826e25d3352b17abf9a1e4243837e">OSSetThreadAffinity</a></div><div class="ttdeci">BOOL OSSetThreadAffinity(OSThread *thread, uint32_t affinity)</div></div>
<div class="ttc" id="struct_o_s_context_html_ac660bd5ffef46cffbd71af31e664fdc1"><div class="ttname"><a href="struct_o_s_context.html#ac660bd5ffef46cffbd71af31e664fdc1">OSContext::spinLockCount</a></div><div class="ttdeci">uint16_t spinLockCount</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00112">thread.h:112</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gabadb986bf587ed067719230d0194e432"><div class="ttname"><a href="group__coreinit__thread.html#gabadb986bf587ed067719230d0194e432">OSJoinThread</a></div><div class="ttdeci">BOOL OSJoinThread(OSThread *thread, int *threadResult)</div></div>
<div class="ttc" id="struct_o_s_thread_html_a1c50fcd1195659821729f52af8f3bb7d"><div class="ttname"><a href="struct_o_s_thread.html#a1c50fcd1195659821729f52af8f3bb7d">OSThread::tag</a></div><div class="ttdeci">uint32_t tag</div><div class="ttdoc">Should always be set to the value OS_THREAD_TAG. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00181">thread.h:181</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga233d3d678de8dcccceb18424e24950b8"><div class="ttname"><a href="group__coreinit__thread.html#ga233d3d678de8dcccceb18424e24950b8">OSWakeupThread</a></div><div class="ttdeci">void OSWakeupThread(OSThreadQueue *queue)</div></div>
<div class="ttc" id="struct_o_s_context_html_ae13713d587c850fc1bfdcf9b4889217f"><div class="ttname"><a href="struct_o_s_context.html#ae13713d587c850fc1bfdcf9b4889217f">OSContext::pmc2</a></div><div class="ttdeci">uint32_t pmc2</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00122">thread.h:122</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga6aa2bd70bb3560ca3811aa0215971cf8"><div class="ttname"><a href="group__coreinit__thread.html#ga6aa2bd70bb3560ca3811aa0215971cf8">OSContinueThread</a></div><div class="ttdeci">void OSContinueThread(OSThread *thread)</div></div>
<div class="ttc" id="wut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a9ec25c03ad5e1dc83c7f66950ce6e4ff"><div class="ttname"><a href="struct_o_s_thread.html#a9ec25c03ad5e1dc83c7f66950ce6e4ff">OSThread::requestFlag</a></div><div class="ttdeci">OSThreadRequest requestFlag</div><div class="ttdoc">Current thread request, used for cancelleing and suspending the thread. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00258">thread.h:258</a></div></div>
<div class="ttc" id="struct_o_s_fast_mutex_queue_html_ad55284e8266fdfe37e1c0900cf3c72dc"><div class="ttname"><a href="struct_o_s_fast_mutex_queue.html#ad55284e8266fdfe37e1c0900cf3c72dc">OSFastMutexQueue::head</a></div><div class="ttdeci">OSFastMutex * head</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00167">thread.h:167</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gaf73770f5c74390d22caa7e993e667984"><div class="ttname"><a href="group__coreinit__thread.html#gaf73770f5c74390d22caa7e993e667984">OSSetThreadName</a></div><div class="ttdeci">void OSSetThreadName(OSThread *thread, const char *name)</div></div>
<div class="ttc" id="struct_o_s_fast_mutex_queue_html"><div class="ttname"><a href="struct_o_s_fast_mutex_queue.html">OSFastMutexQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00165">thread.h:165</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ac9fe2bd7981969cd8071bcc5e4aeb40b"><div class="ttname"><a href="struct_o_s_thread.html#ac9fe2bd7981969cd8071bcc5e4aeb40b">OSThread::specific</a></div><div class="ttdeci">uint32_t specific[0x10]</div><div class="ttdoc">Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00236">thread.h:236</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a5b1f5074d3ad451216e44edd1b73bc1d"><div class="ttname"><a href="struct_o_s_thread.html#a5b1f5074d3ad451216e44edd1b73bc1d">OSThread::entryPoint</a></div><div class="ttdeci">OSThreadEntryPointFn entryPoint</div><div class="ttdoc">Thread entry point. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00231">thread.h:231</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a1bb7411f9602ddc316f0e483383eb2c9"><div class="ttname"><a href="struct_o_s_context.html#a1bb7411f9602ddc316f0e483383eb2c9">OSContext::fpscr</a></div><div class="ttdeci">uint32_t fpscr</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00110">thread.h:110</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ac466ad7864ccba783b664db7b8853b71"><div class="ttname"><a href="struct_o_s_thread.html#ac466ad7864ccba783b664db7b8853b71">OSThread::suspendQueue</a></div><div class="ttdeci">OSThreadQueue suspendQueue</div><div class="ttdoc">Queue of threads waiting for a thread to be suspended. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00267">thread.h:267</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga3be0f7ef0eed586ef8bf5d57f3cd1dfa"><div class="ttname"><a href="group__coreinit__thread.html#ga3be0f7ef0eed586ef8bf5d57f3cd1dfa">OSSetThreadStackUsage</a></div><div class="ttdeci">BOOL OSSetThreadStackUsage(OSThread *thread)</div></div>
<div class="ttc" id="struct_o_s_thread_link_html"><div class="ttname"><a href="struct_o_s_thread_link.html">OSThreadLink</a></div><div class="ttdef"><b>Definition:</b> <a href="threadqueue_8h_source.html#l00020">threadqueue.h:20</a></div></div>
<div class="ttc" id="wut__types_8h_html_a050c65e107f0c828f856a231f4b4e788"><div class="ttname"><a href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div><div class="ttdeci">int BOOL</div><div class="ttdef"><b>Definition:</b> <a href="wut__types_8h_source.html#l00004">wut_types.h:4</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a6ced3f4007bb60daf12191c058e55b8c"><div class="ttname"><a href="struct_o_s_context.html#a6ced3f4007bb60daf12191c058e55b8c">OSContext::lr</a></div><div class="ttdeci">uint32_t lr</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00104">thread.h:104</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517">OS_THREAD_STATE_MORIBUND</a></div><div class="ttdoc">Thread is about to terminate. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00064">thread.h:64</a></div></div>
<div class="ttc" id="struct_o_s_mutex_html"><div class="ttname"><a href="struct_o_s_mutex.html">OSMutex</a></div><div class="ttdef"><b>Definition:</b> <a href="mutex_8h_source.html#l00035">mutex.h:35</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_a234a19eb0790f50fe6be08397cbafd46"><div class="ttname"><a href="struct_o_s_thread.html#a234a19eb0790f50fe6be08397cbafd46">OSThread::userStackPointer</a></div><div class="ttdeci">void * userStackPointer</div><div class="ttdoc">The stack pointer passed in OSCreateThread. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00246">thread.h:246</a></div></div>
<div class="ttc" id="struct_o_s_context_html_ae2730aab7695ca3e81611b0a3ce195c9"><div class="ttname"><a href="struct_o_s_context.html#ae2730aab7695ca3e81611b0a3ce195c9">OSContext::starttime</a></div><div class="ttdeci">uint64_t starttime</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00118">thread.h:118</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f">OS_THREAD_STATE_WAITING</a></div><div class="ttdoc">Thread is waiting, i.e. on a mutex. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00061">thread.h:61</a></div></div>
<div class="ttc" id="struct_o_s_mutex_queue_html_a0896610fffd2641ab3f42ea99b6d147a"><div class="ttname"><a href="struct_o_s_mutex_queue.html#a0896610fffd2641ab3f42ea99b6d147a">OSMutexQueue::head</a></div><div class="ttdeci">OSMutex * head</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00155">thread.h:155</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a5e7ec153efce1e70b054a47da68ff5f7"><div class="ttname"><a href="struct_o_s_context.html#a5e7ec153efce1e70b054a47da68ff5f7">OSContext::coretime</a></div><div class="ttdeci">uint64_t coretime[3]</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00117">thread.h:117</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ac4c316e77fc64758b15a09a6b5756bb1"><div class="ttname"><a href="struct_o_s_thread.html#ac4c316e77fc64758b15a09a6b5756bb1">OSThread::suspendResult</a></div><div class="ttdeci">int32_t suspendResult</div><div class="ttdoc">Result of thread suspend. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00264">thread.h:264</a></div></div>
<div class="ttc" id="struct_o_s_context_html_aa9daa81592c3d8d93de24e5050d4d39e"><div class="ttname"><a href="struct_o_s_context.html#aa9daa81592c3d8d93de24e5050d4d39e">OSContext::xer</a></div><div class="ttdeci">uint32_t xer</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00106">thread.h:106</a></div></div>
<div class="ttc" id="struct_o_s_context_html_aa8d183302fdfa4a6892f1d80300cdb32"><div class="ttname"><a href="struct_o_s_context.html#aa8d183302fdfa4a6892f1d80300cdb32">OSContext::error</a></div><div class="ttdeci">uint32_t error</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00119">thread.h:119</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga62e2afe54836ced17ce04b005b9be728"><div class="ttname"><a href="group__coreinit__thread.html#ga62e2afe54836ced17ce04b005b9be728">OSGetThreadAffinity</a></div><div class="ttdeci">uint32_t OSGetThreadAffinity(OSThread *thread)</div></div>
<div class="ttc" id="group__coreinit__thread_html_ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0"><div class="ttname"><a href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0">OS_THREAD_REQUEST_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00069">thread.h:69</a></div></div>
<div class="ttc" id="struct_o_s_thread_html_ae12b5a541aff405df56ed7abfa97e3b4"><div class="ttname"><a href="struct_o_s_thread.html#ae12b5a541aff405df56ed7abfa97e3b4">OSThread::joinQueue</a></div><div class="ttdeci">OSThreadQueue joinQueue</div><div class="ttdoc">Queue of threads waiting to join this thread. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00213">thread.h:213</a></div></div>
<div class="ttc" id="struct_o_s_thread_queue_html"><div class="ttname"><a href="struct_o_s_thread_queue.html">OSThreadQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="threadqueue_8h_source.html#l00029">threadqueue.h:29</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga40601ddddabf312483c9a3da0a924fa6"><div class="ttname"><a href="group__coreinit__thread.html#ga40601ddddabf312483c9a3da0a924fa6">OSSleepThread</a></div><div class="ttdeci">void OSSleepThread(OSThreadQueue *queue)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gaa3241ca6d126d3b4dc4be94d9836f573"><div class="ttname"><a href="group__coreinit__thread.html#gaa3241ca6d126d3b4dc4be94d9836f573">OSRunThread</a></div><div class="ttdeci">BOOL OSRunThread(OSThread *thread, OSThreadEntryPointFn entry, int argc, const char **argv)</div></div>
<div class="ttc" id="struct_o_s_context_html_a373a185d9090db87a55ed12cf2622a08"><div class="ttname"><a href="struct_o_s_context.html#a373a185d9090db87a55ed12cf2622a08">OSContext::psf</a></div><div class="ttdeci">double psf[32]</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00116">thread.h:116</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga3d5f9fe631c3b30a30ee84a2d32a617c"><div class="ttname"><a href="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">OSTestThreadCancel</a></div><div class="ttdeci">void OSTestThreadCancel()</div></div>
<div class="ttc" id="group__coreinit__thread_html_ga481f2365b62f2ed1b7cda3d0bec91ff2"><div class="ttname"><a href="group__coreinit__thread.html#ga481f2365b62f2ed1b7cda3d0bec91ff2">OSExitThread</a></div><div class="ttdeci">void OSExitThread(int32_t result)</div></div>
<div class="ttc" id="struct_o_s_context_html_aa99fc1b6a6f591b7b412c53fbcabcd34"><div class="ttname"><a href="struct_o_s_context.html#aa99fc1b6a6f591b7b412c53fbcabcd34">OSContext::mmcr1</a></div><div class="ttdeci">uint32_t mmcr1</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00126">thread.h:126</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gab5f71458522cd623a26fda4bc7a08706"><div class="ttname"><a href="group__coreinit__thread.html#gab5f71458522cd623a26fda4bc7a08706">OSSetThreadDeallocator</a></div><div class="ttdeci">OSThreadDeallocatorFn OSSetThreadDeallocator(OSThread *thread, OSThreadDeallocatorFn deallocator)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gaddb66bd8a4fcdd50eec34e0eaabaa4ea"><div class="ttname"><a href="group__coreinit__thread.html#gaddb66bd8a4fcdd50eec34e0eaabaa4ea">OSSetThreadCleanupCallback</a></div><div class="ttdeci">OSThreadCleanupCallbackFn OSSetThreadCleanupCallback(OSThread *thread, OSThreadCleanupCallbackFn callback)</div></div>
<div class="ttc" id="struct_o_s_thread_html_a1a546bbd037b80cd528453546cf0a341"><div class="ttname"><a href="struct_o_s_thread.html#a1a546bbd037b80cd528453546cf0a341">OSThread::mutexQueue</a></div><div class="ttdeci">OSMutexQueue mutexQueue</div><div class="ttdoc">Queue of mutexes this thread owns. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00219">thread.h:219</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85">OS_THREAD_ATTRIB_STACK_USAGE</a></div><div class="ttdoc">Enables tracking of stack usage. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00092">thread.h:92</a></div></div>
<div class="ttc" id="struct_o_s_context_html_af4ea525e6f15623e4e9c6c6aa75f2077"><div class="ttname"><a href="struct_o_s_context.html#af4ea525e6f15623e4e9c6c6aa75f2077">OSContext::state</a></div><div class="ttdeci">uint16_t state</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00113">thread.h:113</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga729a75fba87a2740d7af69aa8978ea5a"><div class="ttname"><a href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a></div><div class="ttdeci">void(* OSThreadCleanupCallbackFn)(OSThread *thread, void *stack)</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00047">thread.h:47</a></div></div>
<div class="ttc" id="struct_o_s_fast_mutex_queue_html_a1563f8b9f6ceef503288783aa43fcb86"><div class="ttname"><a href="struct_o_s_fast_mutex_queue.html#a1563f8b9f6ceef503288783aa43fcb86">OSFastMutexQueue::tail</a></div><div class="ttdeci">OSFastMutex * tail</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00168">thread.h:168</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga0bec4859c6c3575439660463ab58fc14"><div class="ttname"><a href="group__coreinit__thread.html#ga0bec4859c6c3575439660463ab58fc14">OSIsThreadTerminated</a></div><div class="ttdeci">BOOL OSIsThreadTerminated(OSThread *thread)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f">OS_THREAD_STATE_READY</a></div><div class="ttdoc">Thread is ready to run. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00055">thread.h:55</a></div></div>
<div class="ttc" id="struct_o_s_context_html_a0581363c9dee8cdaa94dd1d83c6ccc25"><div class="ttname"><a href="struct_o_s_context.html#a0581363c9dee8cdaa94dd1d83c6ccc25">OSContext::pmc4</a></div><div class="ttdeci">uint32_t pmc4</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00124">thread.h:124</a></div></div>
<div class="ttc" id="group__coreinit__thread_html_ga467707b2709b2636dae204e0d2c2f49a"><div class="ttname"><a href="group__coreinit__thread.html#ga467707b2709b2636dae204e0d2c2f49a">OSGetThreadSpecific</a></div><div class="ttdeci">uint32_t OSGetThreadSpecific(uint32_t id)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gaf3ca5305804fa4552529c5912c96ce2b"><div class="ttname"><a href="group__coreinit__thread.html#gaf3ca5305804fa4552529c5912c96ce2b">OSClearThreadStackUsage</a></div><div class="ttdeci">void OSClearThreadStackUsage(OSThread *thread)</div></div>
<div class="ttc" id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7">OS_THREAD_ATTRIB_AFFINITY_CPU1</a></div><div class="ttdoc">Allow the thread to run on CPU1. </div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00080">thread.h:80</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>