mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 11:20:42 +01:00
511 lines
89 KiB
HTML
511 lines
89 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/ash/Code/wut2/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>
|
|
<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
|
|
 <span id="projectnumber">1.0.0-beta9</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></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> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <<a class="code" href="wut_8h.html">wut.h</a>></span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "<a class="code" href="coreinit_2context_8h.html">context.h</a>"</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "<a class="code" href="time_8h.html">time.h</a>"</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="threadqueue_8h.html">threadqueue.h</a>"</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga1a46c02caff79a13ecf041e55a454696"> 33</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__fastmutex.html#structOSFastMutex">OSFastMutex</a> <a class="code" href="group__coreinit__fastmutex.html#structOSFastMutex">OSFastMutex</a>;</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga6ab521577a62122534149c14253952cb"> 34</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a> <a class="code" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a>;</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga42b7c5a07043d7f6c8324f51ac1747c8"> 35</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a> <a class="code" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a>;</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga585231e15c29fd8485e2ef645623fdec"> 36</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a> <a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a>;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga21cc46877b04baece01ef544fa06a906"> 37</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> <a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>;</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc"> 40</a></span> <span class="keyword">typedef</span> uint8_t <a class="code" href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">OSThreadState</a>;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7"> 43</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">OSThreadRequest</a>;</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a"> 46</a></span> <span class="keyword">typedef</span> uint8_t <a class="code" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a>;</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9"> 48</a></span> <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="l00049"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a"> 49</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a>)(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <span class="keywordtype">void</span> *stack);</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422"> 50</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a>)(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <span class="keywordtype">void</span> *stack);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga2051f6f880e722ee1c16d7a9b33fc285"> 52</a></span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__thread.html#ga2051f6f880e722ee1c16d7a9b33fc285">OS_THREAD_STATE</a></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc"> 54</a></span>  <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc">OS_THREAD_STATE_NONE</a> = 0,</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f"> 57</a></span>  <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f">OS_THREAD_STATE_READY</a> = 1 << 0,</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b"> 60</a></span>  <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b">OS_THREAD_STATE_RUNNING</a> = 1 << 1,</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f"> 63</a></span>  <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f">OS_THREAD_STATE_WAITING</a> = 1 << 2,</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517"> 66</a></span>  <a class="code" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517">OS_THREAD_STATE_MORIBUND</a> = 1 << 3,</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> };</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gac1b924b5c296e435eae41f0bf395d02a"> 69</a></span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__thread.html#gac1b924b5c296e435eae41f0bf395d02a">OS_THREAD_REQUEST</a></div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0"> 71</a></span>  <a class="code" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0">OS_THREAD_REQUEST_NONE</a> = 0,</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329"> 72</a></span>  <a class="code" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329">OS_THREAD_REQUEST_SUSPEND</a> = 1,</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a"> 73</a></span>  <a class="code" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a">OS_THREAD_REQUEST_CANCEL</a> = 2,</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> };</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga93f63e1c4e8826006db8878c9a6d0519"> 76</a></span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__thread.html#ga93f63e1c4e8826006db8878c9a6d0519">OS_THREAD_ATTRIB</a></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> {</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d"> 79</a></span>  <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d">OS_THREAD_ATTRIB_AFFINITY_CPU0</a> = 1 << 0,</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7"> 82</a></span>  <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7">OS_THREAD_ATTRIB_AFFINITY_CPU1</a> = 1 << 1,</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c"> 85</a></span>  <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c">OS_THREAD_ATTRIB_AFFINITY_CPU2</a> = 1 << 2,</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b"> 88</a></span>  <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b">OS_THREAD_ATTRIB_AFFINITY_ANY</a> = ((1 << 0) | (1 << 1) | (1 << 2)),</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923"> 91</a></span>  <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923">OS_THREAD_ATTRIB_DETACHED</a> = 1 << 3,</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85"> 94</a></span>  <a class="code" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85">OS_THREAD_ATTRIB_STACK_USAGE</a> = 1 << 5</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> };</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html"> 97</a></span> <span class="keyword">struct </span><a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a></div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#a0896610fffd2641ab3f42ea99b6d147a"> 99</a></span>  <a class="code" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a> *<a class="code" href="group__coreinit__thread.html#a0896610fffd2641ab3f42ea99b6d147a">head</a>;</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#a69d02e959411b8ca397138183d931eae"> 100</a></span>  <a class="code" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a> *<a class="code" href="group__coreinit__thread.html#a69d02e959411b8ca397138183d931eae">tail</a>;</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#a5f450b216725a37cbc0acd54340144d9"> 101</a></span>  <span class="keywordtype">void</span> *<a class="code" href="group__coreinit__thread.html#a5f450b216725a37cbc0acd54340144d9">parent</a>;</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  WUT_UNKNOWN_BYTES(4);</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> };</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a>, 0x0, head);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a>, 0x4, tail);</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a>, 0x8, parent);</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> WUT_CHECK_SIZE(<a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a>, 0x10);</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html"> 109</a></span> <span class="keyword">struct </span><a class="code" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ad55284e8266fdfe37e1c0900cf3c72dc"> 111</a></span>  <a class="code" href="group__coreinit__fastmutex.html#structOSFastMutex">OSFastMutex</a> *<a class="code" href="group__coreinit__thread.html#ad55284e8266fdfe37e1c0900cf3c72dc">head</a>;</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#a1563f8b9f6ceef503288783aa43fcb86"> 112</a></span>  <a class="code" href="group__coreinit__fastmutex.html#structOSFastMutex">OSFastMutex</a> *<a class="code" href="group__coreinit__thread.html#a1563f8b9f6ceef503288783aa43fcb86">tail</a>;</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> };</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a>, 0x00, head);</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a>, 0x04, tail);</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> WUT_CHECK_SIZE(<a class="code" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a>, 0x08);</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga557f93deefa5ce76cc300ec1beb0c879"> 118</a></span> <span class="preprocessor">#define OS_THREAD_TAG 0x74487244u</span></div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor">#pragma pack(push, 1)</span></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__coreinit__thread.html#ga8a726fc00d3ec7659f577eda3b5295b2"> 120</a></span> <span class="keyword">struct </span><a class="code" href="group__coreinit__thread.html#ga8a726fc00d3ec7659f577eda3b5295b2">WUT_ALIGNAS</a>(8) <a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a></div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> {</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> context;</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  uint32_t tag;</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">OSThreadState</a> state;</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a> attr;</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  uint16_t id;</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  int32_t suspendCounter;</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  int32_t priority;</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  int32_t basePriority;</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  int32_t exitValue;</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  WUT_UNKNOWN_BYTES(0x35C - 0x338);</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> *queue;</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="group__coreinit__threadq.html#structOSThreadLink">OSThreadLink</a> link;</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> joinQueue;</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a> *mutex;</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a> mutexQueue;</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="group__coreinit__threadq.html#structOSThreadLink">OSThreadLink</a> activeLink;</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">void</span> *stackStart;</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">void</span> *stackEnd;</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entryPoint;</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  WUT_UNKNOWN_BYTES(0x57c - 0x3a0);</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> *specific[0x10];</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  WUT_UNKNOWN_BYTES(0x5c0 - 0x5bc);</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name;</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  WUT_UNKNOWN_BYTES(0x4);</div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  </div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">void</span> *userStackPointer;</div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a> cleanupCallback;</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a> deallocator;</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> cancelState;</div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">OSThreadRequest</a> requestFlag;</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  int32_t needSuspend;</div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  int32_t suspendResult;</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> suspendQueue;</div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  WUT_UNKNOWN_BYTES(0x6a0 - 0x5f4);</div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> };</div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="preprocessor">#pragma pack(pop)</span></div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x320, tag);</div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x324, state);</div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x325, attr);</div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x326, <span class="keywordtype">id</span>);</div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x328, suspendCounter);</div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x32c, priority);</div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x330, basePriority);</div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x334, exitValue);</div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x35c, queue);</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x360, link);</div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x368, joinQueue);</div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x378, mutex);</div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x37c, mutexQueue);</div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x38c, activeLink);</div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x394, stackStart);</div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x398, stackEnd);</div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x39c, entryPoint);</div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x57c, specific);</div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5c0, name);</div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5c8, userStackPointer);</div>
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5cc, cleanupCallback);</div>
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5d0, deallocator);</div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5d4, cancelState);</div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5d8, requestFlag);</div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5dc, needSuspend);</div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5e0, suspendResult);</div>
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x5e4, suspendQueue);</div>
|
|
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> WUT_CHECK_SIZE(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>, 0x6a0);</div>
|
|
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  </div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <a class="code" href="group__coreinit__thread.html#ga4dc00e8b9758c58fbdbb73350637f805">OSCancelThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
|
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  </div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> int32_t</div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <a class="code" href="group__coreinit__thread.html#ga0b90395dabd5e3077b274f8dd65fe5bb">OSCheckActiveThreads</a>();</div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
|
|
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div>
|
|
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> int32_t</div>
|
|
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <a class="code" href="group__coreinit__thread.html#ga2bfc1c71ab2551fa12c1dd26c8c9efce">OSCheckThreadStackUsage</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  </div>
|
|
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <a class="code" href="group__coreinit__thread.html#gaf3ca5305804fa4552529c5912c96ce2b">OSClearThreadStackUsage</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  </div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  </div>
|
|
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <a class="code" href="group__coreinit__thread.html#ga6aa2bd70bb3560ca3811aa0215971cf8">OSContinueThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  </div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <a class="code" href="group__coreinit__thread.html#ga558f8aecea78aa6a81817c1d1fcbe8b1">OSCreateThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entry,</div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  int32_t argc,</div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordtype">char</span> *argv,</div>
|
|
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordtype">void</span> *stack,</div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  uint32_t stackSize,</div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  int32_t priority,</div>
|
|
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <a class="code" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a> attributes);</div>
|
|
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  </div>
|
|
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  </div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <a class="code" href="group__coreinit__thread.html#ga5c8cbb581c038073ea97105cbc389e73">OSDetachThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  </div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div>
|
|
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <a class="code" href="group__coreinit__thread.html#ga481f2365b62f2ed1b7cda3d0bec91ff2">OSExitThread</a>(int32_t result);</div>
|
|
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  </div>
|
|
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  </div>
|
|
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <a class="code" href="group__coreinit__thread.html#ga541eec9e102156579ad86cc440d741b1">OSGetActiveThreadLink</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <a class="code" href="group__coreinit__threadq.html#structOSThreadLink">OSThreadLink</a> *link);</div>
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  </div>
|
|
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  </div>
|
|
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *</div>
|
|
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <a class="code" href="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">OSGetCurrentThread</a>();</div>
|
|
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  </div>
|
|
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  </div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *</div>
|
|
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <a class="code" href="group__coreinit__thread.html#gad10a0ac959b7542472ae547a1e38b2b7">OSGetDefaultThread</a>(uint32_t coreID);</div>
|
|
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  </div>
|
|
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  </div>
|
|
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> uint32_t</div>
|
|
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <a class="code" href="group__coreinit__thread.html#ga42e2be4ac798739e6b6e947099547921">OSGetStackPointer</a>();</div>
|
|
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  </div>
|
|
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  </div>
|
|
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> uint32_t</div>
|
|
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> <a class="code" href="group__coreinit__thread.html#ga62e2afe54836ced17ce04b005b9be728">OSGetThreadAffinity</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
|
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  </div>
|
|
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *</div>
|
|
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <a class="code" href="group__coreinit__thread.html#ga308e195cdc22b0290ea5b84774bf481e">OSGetThreadName</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
|
|
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  </div>
|
|
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> int32_t</div>
|
|
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <a class="code" href="group__coreinit__thread.html#ga9e1c9d9b8de8927fb46276114a2f43ec">OSGetThreadPriority</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  </div>
|
|
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  </div>
|
|
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="keywordtype">void</span> *</div>
|
|
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> <a class="code" href="group__coreinit__thread.html#ga94cfe1592be09c48ba2ee9718297ee3d">OSGetThreadSpecific</a>(uint32_t <span class="keywordtype">id</span>);</div>
|
|
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  </div>
|
|
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  </div>
|
|
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <a class="code" href="group__coreinit__thread.html#ga0074df288baf29c18a7c823c258ba353">OSIsThreadSuspended</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  </div>
|
|
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  </div>
|
|
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <a class="code" href="group__coreinit__thread.html#ga0bec4859c6c3575439660463ab58fc14">OSIsThreadTerminated</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  </div>
|
|
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  </div>
|
|
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <a class="code" href="group__coreinit__thread.html#gabadb986bf587ed067719230d0194e432">OSJoinThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordtype">int</span> *threadResult);</div>
|
|
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  </div>
|
|
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  </div>
|
|
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> int32_t</div>
|
|
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <a class="code" href="group__coreinit__thread.html#ga8e47bab6ad06370cbb0990d979e1729b">OSResumeThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  </div>
|
|
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  </div>
|
|
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <a class="code" href="group__coreinit__thread.html#gaa3241ca6d126d3b4dc4be94d9836f573">OSRunThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <a class="code" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entry,</div>
|
|
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keywordtype">int</span> argc,</div>
|
|
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> **argv);</div>
|
|
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  </div>
|
|
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  </div>
|
|
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <a class="code" href="group__coreinit__thread.html#ga64b826e25d3352b17abf9a1e4243837e">OSSetThreadAffinity</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  uint32_t affinity);</div>
|
|
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  </div>
|
|
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  </div>
|
|
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> <a class="code" href="group__coreinit__thread.html#ga5ab3e3f830d155273978285c2ee0670f">OSSetThreadCancelState</a>(<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> state);</div>
|
|
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  </div>
|
|
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
|
|
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> <a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a></div>
|
|
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <a class="code" href="group__coreinit__thread.html#gaddb66bd8a4fcdd50eec34e0eaabaa4ea">OSSetThreadCleanupCallback</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <a class="code" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a> callback);</div>
|
|
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  </div>
|
|
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  </div>
|
|
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> <a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a></div>
|
|
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span> <a class="code" href="group__coreinit__thread.html#gab5f71458522cd623a26fda4bc7a08706">OSSetThreadDeallocator</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <a class="code" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a> deallocator);</div>
|
|
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  </div>
|
|
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  </div>
|
|
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> <a class="code" href="group__coreinit__thread.html#gaf73770f5c74390d22caa7e993e667984">OSSetThreadName</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
|
|
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  </div>
|
|
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  </div>
|
|
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> <a class="code" href="group__coreinit__thread.html#gaf949db9990798fe799eef6f10400febc">OSSetThreadPriority</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  int32_t priority);</div>
|
|
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  </div>
|
|
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  </div>
|
|
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span> <a class="code" href="group__coreinit__thread.html#gabcdf5e618af28ab7d0eb1dcc9dfc9d36">OSSetThreadRunQuantum</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread,</div>
|
|
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  uint32_t quantum);</div>
|
|
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  </div>
|
|
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span> <a class="code" href="group__coreinit__thread.html#gaa5ec19889db9ab9d679ed56b49c8dd44">OSSetThreadSpecific</a>(uint32_t <span class="keywordtype">id</span>,</div>
|
|
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keywordtype">void</span> *value);</div>
|
|
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  </div>
|
|
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  </div>
|
|
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span> <a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
|
|
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span> <a class="code" href="group__coreinit__thread.html#ga3be0f7ef0eed586ef8bf5d57f3cd1dfa">OSSetThreadStackUsage</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  </div>
|
|
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  </div>
|
|
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <a class="code" href="group__coreinit__thread.html#ga40601ddddabf312483c9a3da0a924fa6">OSSleepThread</a>(<a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> *queue);</div>
|
|
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  </div>
|
|
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  </div>
|
|
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span> <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="l00527"></a><span class="lineno"> 527</span>  </div>
|
|
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  </div>
|
|
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span> uint32_t</div>
|
|
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span> <a class="code" href="group__coreinit__thread.html#ga97d4800cbe08b3e3cd68906a197bf587">OSSuspendThread</a>(<a class="code" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread);</div>
|
|
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  </div>
|
|
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  </div>
|
|
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span> <a class="code" href="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">OSTestThreadCancel</a>();</div>
|
|
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  </div>
|
|
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  </div>
|
|
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span> <a class="code" href="group__coreinit__thread.html#ga233d3d678de8dcccceb18424e24950b8">OSWakeupThread</a>(<a class="code" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> *queue);</div>
|
|
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  </div>
|
|
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  </div>
|
|
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span> <a class="code" href="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">OSYieldThread</a>();</div>
|
|
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  </div>
|
|
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  </div>
|
|
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span> }</div>
|
|
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="agroup__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#l00049">thread.h:49</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__threadq_html_structOSThreadLink"><div class="ttname"><a href="group__coreinit__threadq.html#structOSThreadLink">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="agroup__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#l00018">time.h:18</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set a thread's cancellation state.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7">OS_THREAD_ATTRIB_AFFINITY_CPU1</a></div><div class="ttdeci">@ OS_THREAD_ATTRIB_AFFINITY_CPU1</div><div class="ttdoc">Allow the thread to run on CPU1.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00082">thread.h:82</a></div></div>
|
|
<div class="ttc" id="agroup__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#l00048">thread.h:48</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a"><div class="ttname"><a href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a">OS_THREAD_REQUEST_CANCEL</a></div><div class="ttdeci">@ OS_THREAD_REQUEST_CANCEL</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00073">thread.h:73</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__mutex_html_structOSMutex"><div class="ttname"><a href="group__coreinit__mutex.html#structOSMutex">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="agroup__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 class="ttdoc">Wake up all threads in queue.</div></div>
|
|
<div class="ttc" id="agroup__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#l00069">thread.h:69</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__mutex_html_ga21cc46877b04baece01ef544fa06a906"><div class="ttname"><a href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a></div><div class="ttdeci">struct OSThread OSThread</div><div class="ttdef"><b>Definition:</b> <a href="mutex_8h_source.html#l00019">mutex.h:19</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_structOSMutexQueue"><div class="ttname"><a href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</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="agroup__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 class="ttdoc">Set a thread's run quantum.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Sleep the current thread and add it to a thread queue.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_a5f450b216725a37cbc0acd54340144d9"><div class="ttname"><a href="group__coreinit__thread.html#a5f450b216725a37cbc0acd54340144d9">OSMutexQueue::parent</a></div><div class="ttdeci">void * parent</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00101">thread.h:101</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set the callback to be called just after a thread is terminated.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Exit the current thread with a exit code.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ga8a726fc00d3ec7659f577eda3b5295b2"><div class="ttname"><a href="group__coreinit__thread.html#ga8a726fc00d3ec7659f577eda3b5295b2">WUT_ALIGNAS</a></div><div class="ttdeci">struct WUT_ALIGNAS(8) OSThread</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00120">thread.h:120</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b">OS_THREAD_STATE_RUNNING</a></div><div class="ttdeci">@ OS_THREAD_STATE_RUNNING</div><div class="ttdoc">Thread is running.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00060">thread.h:60</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set a thread's affinity.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Wait until thread is terminated.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329"><div class="ttname"><a href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329">OS_THREAD_REQUEST_SUSPEND</a></div><div class="ttdeci">@ OS_THREAD_REQUEST_SUSPEND</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00072">thread.h:72</a></div></div>
|
|
<div class="ttc" id="agroup__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#l00043">thread.h:43</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923">OS_THREAD_ATTRIB_DETACHED</a></div><div class="ttdeci">@ OS_THREAD_ATTRIB_DETACHED</div><div class="ttdoc">Start the thread detached.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00091">thread.h:91</a></div></div>
|
|
<div class="ttc" id="agroup__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#l00076">thread.h:76</a></div></div>
|
|
<div class="ttc" id="acoreinit_2context_8h_html"><div class="ttname"><a href="coreinit_2context_8h.html">context.h</a></div></div>
|
|
<div class="ttc" id="athreadqueue_8h_html"><div class="ttname"><a href="threadqueue_8h.html">threadqueue.h</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set a thread's name.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Sleep the current thread for a period of time.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__context_html_ga924296baf430a531adb5135a5cd54207"><div class="ttname"><a href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a></div><div class="ttdeci">struct OSContext OSContext</div><div class="ttdef"><b>Definition:</b> <a href="coreinit_2context_8h_source.html#l00015">context.h:15</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gaa5ec19889db9ab9d679ed56b49c8dd44"><div class="ttname"><a href="group__coreinit__thread.html#gaa5ec19889db9ab9d679ed56b49c8dd44">OSSetThreadSpecific</a></div><div class="ttdeci">void OSSetThreadSpecific(uint32_t id, void *value)</div><div class="ttdoc">Set a thread specific value.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ga3d5f9fe631c3b30a30ee84a2d32a617c"><div class="ttname"><a href="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">OSTestThreadCancel</a></div><div class="ttdeci">void OSTestThreadCancel()</div><div class="ttdoc">Check to see if the current thread should be cancelled or suspended.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc">OS_THREAD_STATE_NONE</a></div><div class="ttdeci">@ OS_THREAD_STATE_NONE</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00054">thread.h:54</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set the callback to be called just before a thread is terminated.</div></div>
|
|
<div class="ttc" id="agroup__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#l00052">thread.h:52</a></div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b">OS_THREAD_ATTRIB_AFFINITY_ANY</a></div><div class="ttdeci">@ OS_THREAD_ATTRIB_AFFINITY_ANY</div><div class="ttdoc">Allow the thread to run any CPU.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00088">thread.h:88</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Returns TRUE if a thread is terminated.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Create a new thread.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Get the maximum amount of stack the thread has used.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Returns the default thread for a specific core.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Suspend a thread.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Get a thread's base priority.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_a1563f8b9f6ceef503288783aa43fcb86"><div class="ttname"><a href="group__coreinit__thread.html#a1563f8b9f6ceef503288783aa43fcb86">OSFastMutexQueue::tail</a></div><div class="ttdeci">OSFastMutex * tail</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00112">thread.h:112</a></div></div>
|
|
<div class="ttc" id="agroup__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#l00046">thread.h:46</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d">OS_THREAD_ATTRIB_AFFINITY_CPU0</a></div><div class="ttdeci">@ OS_THREAD_ATTRIB_AFFINITY_CPU0</div><div class="ttdoc">Allow the thread to run on CPU0.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00079">thread.h:79</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__fastmutex_html_structOSFastMutex"><div class="ttname"><a href="group__coreinit__fastmutex.html#structOSFastMutex">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="atime_8h_html"><div class="ttname"><a href="time_8h.html">time.h</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_a69d02e959411b8ca397138183d931eae"><div class="ttname"><a href="group__coreinit__thread.html#a69d02e959411b8ca397138183d931eae">OSMutexQueue::tail</a></div><div class="ttdeci">OSMutex * tail</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00100">thread.h:100</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Run a function on an already created thread.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c">OS_THREAD_ATTRIB_AFFINITY_CPU2</a></div><div class="ttdeci">@ OS_THREAD_ATTRIB_AFFINITY_CPU2</div><div class="ttdoc">Allow the thread to run on CPU2.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00085">thread.h:85</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Get the next and previous thread in the thread's active queue.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Cancels a thread.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Detach thread.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set a thread's priority.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Disable tracking of thread stack usage.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Get a thread's affinity.</div></div>
|
|
<div class="ttc" id="agroup__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#l00050">thread.h:50</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f">OS_THREAD_STATE_WAITING</a></div><div class="ttdeci">@ OS_THREAD_STATE_WAITING</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#l00063">thread.h:63</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517">OS_THREAD_STATE_MORIBUND</a></div><div class="ttdeci">@ OS_THREAD_STATE_MORIBUND</div><div class="ttdoc">Thread is about to terminate.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00066">thread.h:66</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0"><div class="ttname"><a href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0">OS_THREAD_REQUEST_NONE</a></div><div class="ttdeci">@ OS_THREAD_REQUEST_NONE</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00071">thread.h:71</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Return current stack pointer, value of r1 register.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_structOSFastMutexQueue"><div class="ttname"><a href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a></div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00109">thread.h:109</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ga3665f0196d1fc7983ad7a311fa1bfc37"><div class="ttname"><a href="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">OSGetCurrentThread</a></div><div class="ttdeci">OSThread * OSGetCurrentThread()</div><div class="ttdoc">Return pointer to OSThread object for the current thread.</div></div>
|
|
<div class="ttc" id="agroup__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#l00040">thread.h:40</a></div></div>
|
|
<div class="ttc" id="awut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372"><div class="ttname"><a href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="ttdeci">int32_t 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="agroup__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 class="ttdoc">Resumes a thread.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__threadq_html_structOSThreadQueue"><div class="ttname"><a href="group__coreinit__threadq.html#structOSThreadQueue">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="agroup__coreinit__thread_html_a0896610fffd2641ab3f42ea99b6d147a"><div class="ttname"><a href="group__coreinit__thread.html#a0896610fffd2641ab3f42ea99b6d147a">OSMutexQueue::head</a></div><div class="ttdeci">OSMutex * head</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00099">thread.h:99</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Returns TRUE if a thread is suspended.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Get a thread's name.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gaabc089f75f232061a8ba1c2f4d3a9169"><div class="ttname"><a href="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">OSYieldThread</a></div><div class="ttdeci">void OSYieldThread()</div><div class="ttdoc">Yield execution to waiting threads with same priority.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85"><div class="ttname"><a href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85">OS_THREAD_ATTRIB_STACK_USAGE</a></div><div class="ttdeci">@ OS_THREAD_ATTRIB_STACK_USAGE</div><div class="ttdoc">Enables tracking of stack usage.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00094">thread.h:94</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Clears a thread's suspend counter and resumes it.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ga94cfe1592be09c48ba2ee9718297ee3d"><div class="ttname"><a href="group__coreinit__thread.html#ga94cfe1592be09c48ba2ee9718297ee3d">OSGetThreadSpecific</a></div><div class="ttdeci">void * OSGetThreadSpecific(uint32_t id)</div><div class="ttdoc">Get a thread's specific value set by OSSetThreadSpecific.</div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Returns the count of active threads.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f"><div class="ttname"><a href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f">OS_THREAD_STATE_READY</a></div><div class="ttdeci">@ OS_THREAD_STATE_READY</div><div class="ttdoc">Thread is ready to run.</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00057">thread.h:57</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__thread_html_ad55284e8266fdfe37e1c0900cf3c72dc"><div class="ttname"><a href="group__coreinit__thread.html#ad55284e8266fdfe37e1c0900cf3c72dc">OSFastMutexQueue::head</a></div><div class="ttdeci">OSFastMutex * head</div><div class="ttdef"><b>Definition:</b> <a href="thread_8h_source.html#l00111">thread.h:111</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttdoc">Set thread stack usage tracking.</div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|