wut/thread_8h.html
2020-03-26 16:49:18 +11:00

289 lines
43 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 File Reference</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
&#160;<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&amp;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&amp;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="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">thread.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="wut_8h_source.html">wut.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="coreinit_2context_8h_source.html">context.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="time_8h_source.html">time.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="threadqueue_8h_source.html">threadqueue.h</a>&quot;</code><br />
</div>
<p><a href="thread_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structOSMutexQueue"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a></td></tr>
<tr class="separator:structOSMutexQueue"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structOSFastMutexQueue"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a></td></tr>
<tr class="separator:structOSFastMutexQueue"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga557f93deefa5ce76cc300ec1beb0c879"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga557f93deefa5ce76cc300ec1beb0c879">OS_THREAD_TAG</a>&#160;&#160;&#160;0x74487244u</td></tr>
<tr class="separator:ga557f93deefa5ce76cc300ec1beb0c879"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga1a46c02caff79a13ecf041e55a454696"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__fastmutex.html#structOSFastMutex">OSFastMutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga1a46c02caff79a13ecf041e55a454696">OSFastMutex</a></td></tr>
<tr class="separator:ga1a46c02caff79a13ecf041e55a454696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ab521577a62122534149c14253952cb"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__thread.html#structOSFastMutexQueue">OSFastMutexQueue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga6ab521577a62122534149c14253952cb">OSFastMutexQueue</a></td></tr>
<tr class="separator:ga6ab521577a62122534149c14253952cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42b7c5a07043d7f6c8324f51ac1747c8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__mutex.html#structOSMutex">OSMutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga42b7c5a07043d7f6c8324f51ac1747c8">OSMutex</a></td></tr>
<tr class="separator:ga42b7c5a07043d7f6c8324f51ac1747c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga585231e15c29fd8485e2ef645623fdec"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__thread.html#structOSMutexQueue">OSMutexQueue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga585231e15c29fd8485e2ef645623fdec">OSMutexQueue</a></td></tr>
<tr class="separator:ga585231e15c29fd8485e2ef645623fdec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21cc46877b04baece01ef544fa06a906"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a></td></tr>
<tr class="separator:ga21cc46877b04baece01ef544fa06a906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c33fd51f40dec4bfff9d98992c7e2cc"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">OSThreadState</a></td></tr>
<tr class="memdesc:ga1c33fd51f40dec4bfff9d98992c7e2cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">A value from enum OS_THREAD_STATE. <a href="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">More...</a><br /></td></tr>
<tr class="separator:ga1c33fd51f40dec4bfff9d98992c7e2cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b4866b3e51f4690fd197462d2cdebe7"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">OSThreadRequest</a></td></tr>
<tr class="memdesc:ga2b4866b3e51f4690fd197462d2cdebe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A value from enum OS_THREAD_REQUEST. <a href="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">More...</a><br /></td></tr>
<tr class="separator:ga2b4866b3e51f4690fd197462d2cdebe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47c38b62e66b6163f6b080a35830897a"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a></td></tr>
<tr class="memdesc:ga47c38b62e66b6163f6b080a35830897a"><td class="mdescLeft">&#160;</td><td class="mdescRight">A bitfield of enum OS_THREAD_ATTRIB. <a href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">More...</a><br /></td></tr>
<tr class="separator:ga47c38b62e66b6163f6b080a35830897a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5cdc96dcec643891f88be54830acae9"><td class="memItemLeft" align="right" valign="top">typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a>) (int argc, const char **argv)</td></tr>
<tr class="separator:gab5cdc96dcec643891f88be54830acae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga729a75fba87a2740d7af69aa8978ea5a"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a>) (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, void *stack)</td></tr>
<tr class="separator:ga729a75fba87a2740d7af69aa8978ea5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8fa3d74d8d161709d327e38eb426422"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a>) (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, void *stack)</td></tr>
<tr class="separator:gac8fa3d74d8d161709d327e38eb426422"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga2051f6f880e722ee1c16d7a9b33fc285"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga2051f6f880e722ee1c16d7a9b33fc285">OS_THREAD_STATE</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a13a1674553ea65a706ae780c20ae84bc">OS_THREAD_STATE_NONE</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f">OS_THREAD_STATE_READY</a> = 1 &lt;&lt; 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b">OS_THREAD_STATE_RUNNING</a> = 1 &lt;&lt; 1,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f">OS_THREAD_STATE_WAITING</a> = 1 &lt;&lt; 2,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517">OS_THREAD_STATE_MORIBUND</a> = 1 &lt;&lt; 3
<br />
}</td></tr>
<tr class="separator:ga2051f6f880e722ee1c16d7a9b33fc285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1b924b5c296e435eae41f0bf395d02a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gac1b924b5c296e435eae41f0bf395d02a">OS_THREAD_REQUEST</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa46b42c24c445d69479b6a163ada1c3c0">OS_THREAD_REQUEST_NONE</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aa632959c993cef4fd2735051db6797329">OS_THREAD_REQUEST_SUSPEND</a> = 1,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#ggac1b924b5c296e435eae41f0bf395d02aab227c9a028b4fb3a9f71afc33995748a">OS_THREAD_REQUEST_CANCEL</a> = 2
<br />
}</td></tr>
<tr class="separator:gac1b924b5c296e435eae41f0bf395d02a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93f63e1c4e8826006db8878c9a6d0519"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga93f63e1c4e8826006db8878c9a6d0519">OS_THREAD_ATTRIB</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d">OS_THREAD_ATTRIB_AFFINITY_CPU0</a> = 1 &lt;&lt; 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7">OS_THREAD_ATTRIB_AFFINITY_CPU1</a> = 1 &lt;&lt; 1,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c">OS_THREAD_ATTRIB_AFFINITY_CPU2</a> = 1 &lt;&lt; 2,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b">OS_THREAD_ATTRIB_AFFINITY_ANY</a> = ((1 &lt;&lt; 0) | (1 &lt;&lt; 1) | (1 &lt;&lt; 2)),
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923">OS_THREAD_ATTRIB_DETACHED</a> = 1 &lt;&lt; 3,
<br />
&#160;&#160;<a class="el" href="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85">OS_THREAD_ATTRIB_STACK_USAGE</a> = 1 &lt;&lt; 5
<br />
}</td></tr>
<tr class="separator:ga93f63e1c4e8826006db8878c9a6d0519"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8a726fc00d3ec7659f577eda3b5295b2"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga8a726fc00d3ec7659f577eda3b5295b2">WUT_ALIGNAS</a> (8) <a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a></td></tr>
<tr class="separator:ga8a726fc00d3ec7659f577eda3b5295b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4dc00e8b9758c58fbdbb73350637f805"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga4dc00e8b9758c58fbdbb73350637f805">OSCancelThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga4dc00e8b9758c58fbdbb73350637f805"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancels a thread. <a href="group__coreinit__thread.html#ga4dc00e8b9758c58fbdbb73350637f805">More...</a><br /></td></tr>
<tr class="separator:ga4dc00e8b9758c58fbdbb73350637f805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b90395dabd5e3077b274f8dd65fe5bb"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga0b90395dabd5e3077b274f8dd65fe5bb">OSCheckActiveThreads</a> ()</td></tr>
<tr class="memdesc:ga0b90395dabd5e3077b274f8dd65fe5bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the count of active threads. <a href="group__coreinit__thread.html#ga0b90395dabd5e3077b274f8dd65fe5bb">More...</a><br /></td></tr>
<tr class="separator:ga0b90395dabd5e3077b274f8dd65fe5bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bfc1c71ab2551fa12c1dd26c8c9efce"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga2bfc1c71ab2551fa12c1dd26c8c9efce">OSCheckThreadStackUsage</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga2bfc1c71ab2551fa12c1dd26c8c9efce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum amount of stack the thread has used. <a href="group__coreinit__thread.html#ga2bfc1c71ab2551fa12c1dd26c8c9efce">More...</a><br /></td></tr>
<tr class="separator:ga2bfc1c71ab2551fa12c1dd26c8c9efce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3ca5305804fa4552529c5912c96ce2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaf3ca5305804fa4552529c5912c96ce2b">OSClearThreadStackUsage</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:gaf3ca5305804fa4552529c5912c96ce2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable tracking of thread stack usage. <a href="group__coreinit__thread.html#gaf3ca5305804fa4552529c5912c96ce2b">More...</a><br /></td></tr>
<tr class="separator:gaf3ca5305804fa4552529c5912c96ce2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6aa2bd70bb3560ca3811aa0215971cf8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga6aa2bd70bb3560ca3811aa0215971cf8">OSContinueThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga6aa2bd70bb3560ca3811aa0215971cf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears a thread's suspend counter and resumes it. <a href="group__coreinit__thread.html#ga6aa2bd70bb3560ca3811aa0215971cf8">More...</a><br /></td></tr>
<tr class="separator:ga6aa2bd70bb3560ca3811aa0215971cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga558f8aecea78aa6a81817c1d1fcbe8b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga558f8aecea78aa6a81817c1d1fcbe8b1">OSCreateThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <a class="el" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entry, int32_t argc, char *argv, void *stack, uint32_t stackSize, int32_t priority, <a class="el" href="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a> attributes)</td></tr>
<tr class="memdesc:ga558f8aecea78aa6a81817c1d1fcbe8b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new thread. <a href="group__coreinit__thread.html#ga558f8aecea78aa6a81817c1d1fcbe8b1">More...</a><br /></td></tr>
<tr class="separator:ga558f8aecea78aa6a81817c1d1fcbe8b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c8cbb581c038073ea97105cbc389e73"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga5c8cbb581c038073ea97105cbc389e73">OSDetachThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga5c8cbb581c038073ea97105cbc389e73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detach thread. <a href="group__coreinit__thread.html#ga5c8cbb581c038073ea97105cbc389e73">More...</a><br /></td></tr>
<tr class="separator:ga5c8cbb581c038073ea97105cbc389e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga481f2365b62f2ed1b7cda3d0bec91ff2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga481f2365b62f2ed1b7cda3d0bec91ff2">OSExitThread</a> (int32_t result)</td></tr>
<tr class="memdesc:ga481f2365b62f2ed1b7cda3d0bec91ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exit the current thread with a exit code. <a href="group__coreinit__thread.html#ga481f2365b62f2ed1b7cda3d0bec91ff2">More...</a><br /></td></tr>
<tr class="separator:ga481f2365b62f2ed1b7cda3d0bec91ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga541eec9e102156579ad86cc440d741b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga541eec9e102156579ad86cc440d741b1">OSGetActiveThreadLink</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <a class="el" href="group__coreinit__threadq.html#structOSThreadLink">OSThreadLink</a> *link)</td></tr>
<tr class="memdesc:ga541eec9e102156579ad86cc440d741b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next and previous thread in the thread's active queue. <a href="group__coreinit__thread.html#ga541eec9e102156579ad86cc440d741b1">More...</a><br /></td></tr>
<tr class="separator:ga541eec9e102156579ad86cc440d741b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3665f0196d1fc7983ad7a311fa1bfc37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">OSGetCurrentThread</a> ()</td></tr>
<tr class="memdesc:ga3665f0196d1fc7983ad7a311fa1bfc37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return pointer to OSThread object for the current thread. <a href="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">More...</a><br /></td></tr>
<tr class="separator:ga3665f0196d1fc7983ad7a311fa1bfc37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad10a0ac959b7542472ae547a1e38b2b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gad10a0ac959b7542472ae547a1e38b2b7">OSGetDefaultThread</a> (uint32_t coreID)</td></tr>
<tr class="memdesc:gad10a0ac959b7542472ae547a1e38b2b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the default thread for a specific core. <a href="group__coreinit__thread.html#gad10a0ac959b7542472ae547a1e38b2b7">More...</a><br /></td></tr>
<tr class="separator:gad10a0ac959b7542472ae547a1e38b2b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42e2be4ac798739e6b6e947099547921"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga42e2be4ac798739e6b6e947099547921">OSGetStackPointer</a> ()</td></tr>
<tr class="memdesc:ga42e2be4ac798739e6b6e947099547921"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return current stack pointer, value of r1 register. <a href="group__coreinit__thread.html#ga42e2be4ac798739e6b6e947099547921">More...</a><br /></td></tr>
<tr class="separator:ga42e2be4ac798739e6b6e947099547921"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62e2afe54836ced17ce04b005b9be728"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga62e2afe54836ced17ce04b005b9be728">OSGetThreadAffinity</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga62e2afe54836ced17ce04b005b9be728"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a thread's affinity. <a href="group__coreinit__thread.html#ga62e2afe54836ced17ce04b005b9be728">More...</a><br /></td></tr>
<tr class="separator:ga62e2afe54836ced17ce04b005b9be728"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga308e195cdc22b0290ea5b84774bf481e"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga308e195cdc22b0290ea5b84774bf481e">OSGetThreadName</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga308e195cdc22b0290ea5b84774bf481e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a thread's name. <a href="group__coreinit__thread.html#ga308e195cdc22b0290ea5b84774bf481e">More...</a><br /></td></tr>
<tr class="separator:ga308e195cdc22b0290ea5b84774bf481e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e1c9d9b8de8927fb46276114a2f43ec"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga9e1c9d9b8de8927fb46276114a2f43ec">OSGetThreadPriority</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga9e1c9d9b8de8927fb46276114a2f43ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a thread's base priority. <a href="group__coreinit__thread.html#ga9e1c9d9b8de8927fb46276114a2f43ec">More...</a><br /></td></tr>
<tr class="separator:ga9e1c9d9b8de8927fb46276114a2f43ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94cfe1592be09c48ba2ee9718297ee3d"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga94cfe1592be09c48ba2ee9718297ee3d">OSGetThreadSpecific</a> (uint32_t id)</td></tr>
<tr class="memdesc:ga94cfe1592be09c48ba2ee9718297ee3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a thread's specific value set by OSSetThreadSpecific. <a href="group__coreinit__thread.html#ga94cfe1592be09c48ba2ee9718297ee3d">More...</a><br /></td></tr>
<tr class="separator:ga94cfe1592be09c48ba2ee9718297ee3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0074df288baf29c18a7c823c258ba353"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga0074df288baf29c18a7c823c258ba353">OSIsThreadSuspended</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga0074df288baf29c18a7c823c258ba353"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if a thread is suspended. <a href="group__coreinit__thread.html#ga0074df288baf29c18a7c823c258ba353">More...</a><br /></td></tr>
<tr class="separator:ga0074df288baf29c18a7c823c258ba353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bec4859c6c3575439660463ab58fc14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga0bec4859c6c3575439660463ab58fc14">OSIsThreadTerminated</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga0bec4859c6c3575439660463ab58fc14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if a thread is terminated. <a href="group__coreinit__thread.html#ga0bec4859c6c3575439660463ab58fc14">More...</a><br /></td></tr>
<tr class="separator:ga0bec4859c6c3575439660463ab58fc14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabadb986bf587ed067719230d0194e432"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gabadb986bf587ed067719230d0194e432">OSJoinThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, int *threadResult)</td></tr>
<tr class="memdesc:gabadb986bf587ed067719230d0194e432"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wait until thread is terminated. <a href="group__coreinit__thread.html#gabadb986bf587ed067719230d0194e432">More...</a><br /></td></tr>
<tr class="separator:gabadb986bf587ed067719230d0194e432"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e47bab6ad06370cbb0990d979e1729b"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga8e47bab6ad06370cbb0990d979e1729b">OSResumeThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga8e47bab6ad06370cbb0990d979e1729b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resumes a thread. <a href="group__coreinit__thread.html#ga8e47bab6ad06370cbb0990d979e1729b">More...</a><br /></td></tr>
<tr class="separator:ga8e47bab6ad06370cbb0990d979e1729b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3241ca6d126d3b4dc4be94d9836f573"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaa3241ca6d126d3b4dc4be94d9836f573">OSRunThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <a class="el" href="group__coreinit__thread.html#gab5cdc96dcec643891f88be54830acae9">OSThreadEntryPointFn</a> entry, int argc, const char **argv)</td></tr>
<tr class="memdesc:gaa3241ca6d126d3b4dc4be94d9836f573"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run a function on an already created thread. <a href="group__coreinit__thread.html#gaa3241ca6d126d3b4dc4be94d9836f573">More...</a><br /></td></tr>
<tr class="separator:gaa3241ca6d126d3b4dc4be94d9836f573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64b826e25d3352b17abf9a1e4243837e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga64b826e25d3352b17abf9a1e4243837e">OSSetThreadAffinity</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, uint32_t affinity)</td></tr>
<tr class="memdesc:ga64b826e25d3352b17abf9a1e4243837e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a thread's affinity. <a href="group__coreinit__thread.html#ga64b826e25d3352b17abf9a1e4243837e">More...</a><br /></td></tr>
<tr class="separator:ga64b826e25d3352b17abf9a1e4243837e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ab3e3f830d155273978285c2ee0670f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga5ab3e3f830d155273978285c2ee0670f">OSSetThreadCancelState</a> (<a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> state)</td></tr>
<tr class="memdesc:ga5ab3e3f830d155273978285c2ee0670f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a thread's cancellation state. <a href="group__coreinit__thread.html#ga5ab3e3f830d155273978285c2ee0670f">More...</a><br /></td></tr>
<tr class="separator:ga5ab3e3f830d155273978285c2ee0670f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaddb66bd8a4fcdd50eec34e0eaabaa4ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaddb66bd8a4fcdd50eec34e0eaabaa4ea">OSSetThreadCleanupCallback</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <a class="el" href="group__coreinit__thread.html#ga729a75fba87a2740d7af69aa8978ea5a">OSThreadCleanupCallbackFn</a> callback)</td></tr>
<tr class="memdesc:gaddb66bd8a4fcdd50eec34e0eaabaa4ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the callback to be called just before a thread is terminated. <a href="group__coreinit__thread.html#gaddb66bd8a4fcdd50eec34e0eaabaa4ea">More...</a><br /></td></tr>
<tr class="separator:gaddb66bd8a4fcdd50eec34e0eaabaa4ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5f71458522cd623a26fda4bc7a08706"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gab5f71458522cd623a26fda4bc7a08706">OSSetThreadDeallocator</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, <a class="el" href="group__coreinit__thread.html#gac8fa3d74d8d161709d327e38eb426422">OSThreadDeallocatorFn</a> deallocator)</td></tr>
<tr class="memdesc:gab5f71458522cd623a26fda4bc7a08706"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the callback to be called just after a thread is terminated. <a href="group__coreinit__thread.html#gab5f71458522cd623a26fda4bc7a08706">More...</a><br /></td></tr>
<tr class="separator:gab5f71458522cd623a26fda4bc7a08706"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf73770f5c74390d22caa7e993e667984"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaf73770f5c74390d22caa7e993e667984">OSSetThreadName</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, const char *name)</td></tr>
<tr class="memdesc:gaf73770f5c74390d22caa7e993e667984"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a thread's name. <a href="group__coreinit__thread.html#gaf73770f5c74390d22caa7e993e667984">More...</a><br /></td></tr>
<tr class="separator:gaf73770f5c74390d22caa7e993e667984"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf949db9990798fe799eef6f10400febc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaf949db9990798fe799eef6f10400febc">OSSetThreadPriority</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, int32_t priority)</td></tr>
<tr class="memdesc:gaf949db9990798fe799eef6f10400febc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a thread's priority. <a href="group__coreinit__thread.html#gaf949db9990798fe799eef6f10400febc">More...</a><br /></td></tr>
<tr class="separator:gaf949db9990798fe799eef6f10400febc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabcdf5e618af28ab7d0eb1dcc9dfc9d36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gabcdf5e618af28ab7d0eb1dcc9dfc9d36">OSSetThreadRunQuantum</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread, uint32_t quantum)</td></tr>
<tr class="memdesc:gabcdf5e618af28ab7d0eb1dcc9dfc9d36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a thread's run quantum. <a href="group__coreinit__thread.html#gabcdf5e618af28ab7d0eb1dcc9dfc9d36">More...</a><br /></td></tr>
<tr class="separator:gabcdf5e618af28ab7d0eb1dcc9dfc9d36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5ec19889db9ab9d679ed56b49c8dd44"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaa5ec19889db9ab9d679ed56b49c8dd44">OSSetThreadSpecific</a> (uint32_t id, void *value)</td></tr>
<tr class="memdesc:gaa5ec19889db9ab9d679ed56b49c8dd44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a thread specific value. <a href="group__coreinit__thread.html#gaa5ec19889db9ab9d679ed56b49c8dd44">More...</a><br /></td></tr>
<tr class="separator:gaa5ec19889db9ab9d679ed56b49c8dd44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3be0f7ef0eed586ef8bf5d57f3cd1dfa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga3be0f7ef0eed586ef8bf5d57f3cd1dfa">OSSetThreadStackUsage</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga3be0f7ef0eed586ef8bf5d57f3cd1dfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set thread stack usage tracking. <a href="group__coreinit__thread.html#ga3be0f7ef0eed586ef8bf5d57f3cd1dfa">More...</a><br /></td></tr>
<tr class="separator:ga3be0f7ef0eed586ef8bf5d57f3cd1dfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40601ddddabf312483c9a3da0a924fa6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga40601ddddabf312483c9a3da0a924fa6">OSSleepThread</a> (<a class="el" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> *queue)</td></tr>
<tr class="memdesc:ga40601ddddabf312483c9a3da0a924fa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep the current thread and add it to a thread queue. <a href="group__coreinit__thread.html#ga40601ddddabf312483c9a3da0a924fa6">More...</a><br /></td></tr>
<tr class="separator:ga40601ddddabf312483c9a3da0a924fa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec240f68873bb19c753cfdd346264c17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaec240f68873bb19c753cfdd346264c17">OSSleepTicks</a> (<a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> ticks)</td></tr>
<tr class="memdesc:gaec240f68873bb19c753cfdd346264c17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep the current thread for a period of time. <a href="group__coreinit__thread.html#gaec240f68873bb19c753cfdd346264c17">More...</a><br /></td></tr>
<tr class="separator:gaec240f68873bb19c753cfdd346264c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97d4800cbe08b3e3cd68906a197bf587"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga97d4800cbe08b3e3cd68906a197bf587">OSSuspendThread</a> (<a class="el" href="group__coreinit__mutex.html#ga21cc46877b04baece01ef544fa06a906">OSThread</a> *thread)</td></tr>
<tr class="memdesc:ga97d4800cbe08b3e3cd68906a197bf587"><td class="mdescLeft">&#160;</td><td class="mdescRight">Suspend a thread. <a href="group__coreinit__thread.html#ga97d4800cbe08b3e3cd68906a197bf587">More...</a><br /></td></tr>
<tr class="separator:ga97d4800cbe08b3e3cd68906a197bf587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d5f9fe631c3b30a30ee84a2d32a617c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">OSTestThreadCancel</a> ()</td></tr>
<tr class="memdesc:ga3d5f9fe631c3b30a30ee84a2d32a617c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check to see if the current thread should be cancelled or suspended. <a href="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">More...</a><br /></td></tr>
<tr class="separator:ga3d5f9fe631c3b30a30ee84a2d32a617c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga233d3d678de8dcccceb18424e24950b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#ga233d3d678de8dcccceb18424e24950b8">OSWakeupThread</a> (<a class="el" href="group__coreinit__threadq.html#structOSThreadQueue">OSThreadQueue</a> *queue)</td></tr>
<tr class="memdesc:ga233d3d678de8dcccceb18424e24950b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wake up all threads in queue. <a href="group__coreinit__thread.html#ga233d3d678de8dcccceb18424e24950b8">More...</a><br /></td></tr>
<tr class="separator:ga233d3d678de8dcccceb18424e24950b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabc089f75f232061a8ba1c2f4d3a9169"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">OSYieldThread</a> ()</td></tr>
<tr class="memdesc:gaabc089f75f232061a8ba1c2f4d3a9169"><td class="mdescLeft">&#160;</td><td class="mdescRight">Yield execution to waiting threads with same priority. <a href="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">More...</a><br /></td></tr>
<tr class="separator:gaabc089f75f232061a8ba1c2f4d3a9169"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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.17
</small></address>
</body>
</html>