<divclass="ttc"id="group__coreinit__thread_html_ga2bfc1c71ab2551fa12c1dd26c8c9efce"><divclass="ttname"><ahref="group__coreinit__thread.html#ga2bfc1c71ab2551fa12c1dd26c8c9efce">OSCheckThreadStackUsage</a></div><divclass="ttdeci">int32_t OSCheckThreadStackUsage(OSThread *thread)</div><divclass="ttdoc">Get the maximum amount of stack the thread has used. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a01d3b93eba14965d9aba07081986d663"><divclass="ttname"><ahref="group__coreinit__thread.html#a01d3b93eba14965d9aba07081986d663">OSThread::activeLink</a></div><divclass="ttdeci">OSThreadLink activeLink</div><divclass="ttdoc">Link for global active thread queue. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00166">thread.h:166</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gad10a0ac959b7542472ae547a1e38b2b7"><divclass="ttname"><ahref="group__coreinit__thread.html#gad10a0ac959b7542472ae547a1e38b2b7">OSGetDefaultThread</a></div><divclass="ttdeci">OSThread * OSGetDefaultThread(uint32_t coreID)</div><divclass="ttdoc">Returns the default thread for a specific core. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga47c38b62e66b6163f6b080a35830897a"><divclass="ttname"><ahref="group__coreinit__thread.html#ga47c38b62e66b6163f6b080a35830897a">OSThreadAttributes</a></div><divclass="ttdeci">uint8_t OSThreadAttributes</div><divclass="ttdoc">A bitfield of enum OS_THREAD_ATTRIB. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00046">thread.h:46</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga3665f0196d1fc7983ad7a311fa1bfc37"><divclass="ttname"><ahref="group__coreinit__thread.html#ga3665f0196d1fc7983ad7a311fa1bfc37">OSGetCurrentThread</a></div><divclass="ttdeci">OSThread * OSGetCurrentThread()</div><divclass="ttdoc">Return pointer to OSThread object for the current thread. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga9e1c9d9b8de8927fb46276114a2f43ec"><divclass="ttname"><ahref="group__coreinit__thread.html#ga9e1c9d9b8de8927fb46276114a2f43ec">OSGetThreadPriority</a></div><divclass="ttdeci">int32_t OSGetThreadPriority(OSThread *thread)</div><divclass="ttdoc">Get a thread&#39;s base priority. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga4dc00e8b9758c58fbdbb73350637f805"><divclass="ttname"><ahref="group__coreinit__thread.html#ga4dc00e8b9758c58fbdbb73350637f805">OSCancelThread</a></div><divclass="ttdeci">void OSCancelThread(OSThread *thread)</div><divclass="ttdoc">Cancels a thread. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga2b4866b3e51f4690fd197462d2cdebe7"><divclass="ttname"><ahref="group__coreinit__thread.html#ga2b4866b3e51f4690fd197462d2cdebe7">OSThreadRequest</a></div><divclass="ttdeci">uint32_t OSThreadRequest</div><divclass="ttdoc">A value from enum OS_THREAD_REQUEST. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00043">thread.h:43</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_aaf5c9c6f6be9a468c705d9f3c39f6904"><divclass="ttname"><ahref="group__coreinit__thread.html#aaf5c9c6f6be9a468c705d9f3c39f6904">OSThread::cancelState</a></div><divclass="ttdeci">BOOL cancelState</div><divclass="ttdoc">If TRUE then a thread can be cancelled or suspended, set with OSSetThreadCancelState. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00199">thread.h:199</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b"><divclass="ttname"><ahref="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285ad2b8ca7ea948310fdce859f2a7fd265b">OS_THREAD_STATE_RUNNING</a></div><divclass="ttdoc">Thread is running. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00060">thread.h:60</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaec240f68873bb19c753cfdd346264c17"><divclass="ttname"><ahref="group__coreinit__thread.html#gaec240f68873bb19c753cfdd346264c17">OSSleepTicks</a></div><divclass="ttdeci">void OSSleepTicks(OSTime ticks)</div><divclass="ttdoc">Sleep the current thread for a period of time. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga0074df288baf29c18a7c823c258ba353"><divclass="ttname"><ahref="group__coreinit__thread.html#ga0074df288baf29c18a7c823c258ba353">OSIsThreadSuspended</a></div><divclass="ttdeci">BOOL OSIsThreadSuspended(OSThread *thread)</div><divclass="ttdoc">Returns TRUE if a thread is suspended. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923"><divclass="ttname"><ahref="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a643750f290d1a1327e4d6f83a385a923">OS_THREAD_ATTRIB_DETACHED</a></div><divclass="ttdoc">Start the thread detached. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00091">thread.h:91</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaabc089f75f232061a8ba1c2f4d3a9169"><divclass="ttname"><ahref="group__coreinit__thread.html#gaabc089f75f232061a8ba1c2f4d3a9169">OSYieldThread</a></div><divclass="ttdeci">void OSYieldThread()</div><divclass="ttdoc">Yield execution to waiting threads with same priority. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga308e195cdc22b0290ea5b84774bf481e"><divclass="ttname"><ahref="group__coreinit__thread.html#ga308e195cdc22b0290ea5b84774bf481e">OSGetThreadName</a></div><divclass="ttdeci">const char * OSGetThreadName(OSThread *thread)</div><divclass="ttdoc">Get a thread&#39;s name. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a8f8f80d37794cde9472343e4487ba3eb"><divclass="ttname"><ahref="group__coreinit__thread.html#a8f8f80d37794cde9472343e4487ba3eb">OSThread::name</a></div><divclass="ttdeci">const char * name</div><divclass="ttdoc">Thread name, accessed with OSSetThreadName and OSGetThreadName. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00185">thread.h:185</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ac466ad7864ccba783b664db7b8853b71"><divclass="ttname"><ahref="group__coreinit__thread.html#ac466ad7864ccba783b664db7b8853b71">OSThread::suspendQueue</a></div><divclass="ttdeci">OSThreadQueue suspendQueue</div><divclass="ttdoc">Queue of threads waiting for a thread to be suspended. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00211">thread.h:211</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_a1c50fcd1195659821729f52af8f3bb7d"><divclass="ttname"><ahref="group__coreinit__thread.html#a1c50fcd1195659821729f52af8f3bb7d">OSThread::tag</a></div><divclass="ttdeci">uint32_t tag</div><divclass="ttdoc">Should always be set to the value OS_THREAD_TAG. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00125">thread.h:125</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gabcdf5e618af28ab7d0eb1dcc9dfc9d36"><divclass="ttname"><ahref="group__coreinit__thread.html#gabcdf5e618af28ab7d0eb1dcc9dfc9d36">OSSetThreadRunQuantum</a></div><divclass="ttdeci">BOOL OSSetThreadRunQuantum(OSThread *thread, uint32_t quantum)</div><divclass="ttdoc">Set a thread&#39;s run quantum. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga97d4800cbe08b3e3cd68906a197bf587"><divclass="ttname"><ahref="group__coreinit__thread.html#ga97d4800cbe08b3e3cd68906a197bf587">OSSuspendThread</a></div><divclass="ttdeci">uint32_t OSSuspendThread(OSThread *thread)</div><divclass="ttdoc">Suspend a thread. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b"><divclass="ttname"><ahref="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519abb854560be1fd9b10763999f08b3591b">OS_THREAD_ATTRIB_AFFINITY_ANY</a></div><divclass="ttdoc">Allow the thread to run any CPU. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00088">thread.h:88</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga1c33fd51f40dec4bfff9d98992c7e2cc"><divclass="ttname"><ahref="group__coreinit__thread.html#ga1c33fd51f40dec4bfff9d98992c7e2cc">OSThreadState</a></div><divclass="ttdeci">uint8_t OSThreadState</div><divclass="ttdoc">A value from enum OS_THREAD_STATE. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00040">thread.h:40</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga5ab3e3f830d155273978285c2ee0670f"><divclass="ttname"><ahref="group__coreinit__thread.html#ga5ab3e3f830d155273978285c2ee0670f">OSSetThreadCancelState</a></div><divclass="ttdeci">BOOL OSSetThreadCancelState(BOOL state)</div><divclass="ttdoc">Set a thread&#39;s cancellation state. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a26a9241292d04c9c6fe64a140aff3665"><divclass="ttname"><ahref="group__coreinit__thread.html#a26a9241292d04c9c6fe64a140aff3665">OSThread::deallocator</a></div><divclass="ttdeci">OSThreadDeallocatorFn deallocator</div><divclass="ttdoc">Called just after a thread is terminated, set with OSSetThreadDeallocator. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00196">thread.h:196</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaf949db9990798fe799eef6f10400febc"><divclass="ttname"><ahref="group__coreinit__thread.html#gaf949db9990798fe799eef6f10400febc">OSSetThreadPriority</a></div><divclass="ttdeci">BOOL OSSetThreadPriority(OSThread *thread, int32_t priority)</div><divclass="ttdoc">Set a thread&#39;s priority. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga8e47bab6ad06370cbb0990d979e1729b"><divclass="ttname"><ahref="group__coreinit__thread.html#ga8e47bab6ad06370cbb0990d979e1729b">OSResumeThread</a></div><divclass="ttdeci">int32_t OSResumeThread(OSThread *thread)</div><divclass="ttdoc">Resumes a thread. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ae12b5a541aff405df56ed7abfa97e3b4"><divclass="ttname"><ahref="group__coreinit__thread.html#ae12b5a541aff405df56ed7abfa97e3b4">OSThread::joinQueue</a></div><divclass="ttdeci">OSThreadQueue joinQueue</div><divclass="ttdoc">Queue of threads waiting to join this thread. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00157">thread.h:157</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga42e2be4ac798739e6b6e947099547921"><divclass="ttname"><ahref="group__coreinit__thread.html#ga42e2be4ac798739e6b6e947099547921">OSGetStackPointer</a></div><divclass="ttdeci">uint32_t OSGetStackPointer()</div><divclass="ttdoc">Return current stack pointer, value of r1 register. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga94cfe1592be09c48ba2ee9718297ee3d"><divclass="ttname"><ahref="group__coreinit__thread.html#ga94cfe1592be09c48ba2ee9718297ee3d">OSGetThreadSpecific</a></div><divclass="ttdeci">void * OSGetThreadSpecific(uint32_t id)</div><divclass="ttdoc">Get a thread&#39;s specific value set by OSSetThreadSpecific. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a1a546bbd037b80cd528453546cf0a341"><divclass="ttname"><ahref="group__coreinit__thread.html#a1a546bbd037b80cd528453546cf0a341">OSThread::mutexQueue</a></div><divclass="ttdeci">OSMutexQueue mutexQueue</div><divclass="ttdoc">Queue of mutexes this thread owns. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00163">thread.h:163</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga541eec9e102156579ad86cc440d741b1"><divclass="ttname"><ahref="group__coreinit__thread.html#ga541eec9e102156579ad86cc440d741b1">OSGetActiveThreadLink</a></div><divclass="ttdeci">void OSGetActiveThreadLink(OSThread *thread, OSThreadLink *link)</div><divclass="ttdoc">Get the next and previous thread in the thread&#39;s active queue. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c"><divclass="ttname"><ahref="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a1434f284dfb835aa2d0704cebf81345c">OS_THREAD_ATTRIB_AFFINITY_CPU2</a></div><divclass="ttdoc">Allow the thread to run on CPU2. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00085">thread.h:85</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga0b90395dabd5e3077b274f8dd65fe5bb"><divclass="ttname"><ahref="group__coreinit__thread.html#ga0b90395dabd5e3077b274f8dd65fe5bb">OSCheckActiveThreads</a></div><divclass="ttdeci">int32_t OSCheckActiveThreads()</div><divclass="ttdoc">Returns the count of active threads. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a18fc1c8e9296f17ef97a86147387d8b4"><divclass="ttname"><ahref="group__coreinit__thread.html#a18fc1c8e9296f17ef97a86147387d8b4">OSThread::state</a></div><divclass="ttdeci">OSThreadState state</div><divclass="ttdoc">Bitfield of OS_THREAD_STATE. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00128">thread.h:128</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d"><divclass="ttname"><ahref="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a3ea0c3a38f1342783fd2ddfa6a84a13d">OS_THREAD_ATTRIB_AFFINITY_CPU0</a></div><divclass="ttdoc">Allow the thread to run on CPU0. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00079">thread.h:79</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga64b826e25d3352b17abf9a1e4243837e"><divclass="ttname"><ahref="group__coreinit__thread.html#ga64b826e25d3352b17abf9a1e4243837e">OSSetThreadAffinity</a></div><divclass="ttdeci">BOOL OSSetThreadAffinity(OSThread *thread, uint32_t affinity)</div><divclass="ttdoc">Set a thread&#39;s affinity. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gabadb986bf587ed067719230d0194e432"><divclass="ttname"><ahref="group__coreinit__thread.html#gabadb986bf587ed067719230d0194e432">OSJoinThread</a></div><divclass="ttdeci">BOOL OSJoinThread(OSThread *thread, int *threadResult)</div><divclass="ttdoc">Wait until thread is terminated. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga233d3d678de8dcccceb18424e24950b8"><divclass="ttname"><ahref="group__coreinit__thread.html#ga233d3d678de8dcccceb18424e24950b8">OSWakeupThread</a></div><divclass="ttdeci">void OSWakeupThread(OSThreadQueue *queue)</div><divclass="ttdoc">Wake up all threads in queue. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ace4c76a6af356088cb17b29968e3fc7d"><divclass="ttname"><ahref="group__coreinit__thread.html#ace4c76a6af356088cb17b29968e3fc7d">OSThread::cleanupCallback</a></div><divclass="ttdeci">OSThreadCleanupCallbackFn cleanupCallback</div><divclass="ttdoc">Called just before thread is terminated, set with OSSetThreadCleanupCallback. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00193">thread.h:193</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga6aa2bd70bb3560ca3811aa0215971cf8"><divclass="ttname"><ahref="group__coreinit__thread.html#ga6aa2bd70bb3560ca3811aa0215971cf8">OSContinueThread</a></div><divclass="ttdeci">void OSContinueThread(OSThread *thread)</div><divclass="ttdoc">Clears a thread&#39;s suspend counter and resumes it. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a9ec25c03ad5e1dc83c7f66950ce6e4ff"><divclass="ttname"><ahref="group__coreinit__thread.html#a9ec25c03ad5e1dc83c7f66950ce6e4ff">OSThread::requestFlag</a></div><divclass="ttdeci">OSThreadRequest requestFlag</div><divclass="ttdoc">Current thread request, used for cancelleing and suspending the thread. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00202">thread.h:202</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaf73770f5c74390d22caa7e993e667984"><divclass="ttname"><ahref="group__coreinit__thread.html#gaf73770f5c74390d22caa7e993e667984">OSSetThreadName</a></div><divclass="ttdeci">void OSSetThreadName(OSThread *thread, const char *name)</div><divclass="ttdoc">Set a thread&#39;s name. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a234a19eb0790f50fe6be08397cbafd46"><divclass="ttname"><ahref="group__coreinit__thread.html#a234a19eb0790f50fe6be08397cbafd46">OSThread::userStackPointer</a></div><divclass="ttdeci">void * userStackPointer</div><divclass="ttdoc">The stack pointer passed in OSCreateThread. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00190">thread.h:190</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517"><divclass="ttname"><ahref="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a1a499958e89f028b8c3d29f869f97517">OS_THREAD_STATE_MORIBUND</a></div><divclass="ttdoc">Thread is about to terminate. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00066">thread.h:66</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_a8f0e11d3f286a61d3ed336429d317abf"><divclass="ttname"><ahref="group__coreinit__thread.html#a8f0e11d3f286a61d3ed336429d317abf">OSThread::mutex</a></div><divclass="ttdeci">OSMutex * mutex</div><divclass="ttdoc">Mutex this thread is waiting to lock. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00160">thread.h:160</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f"><divclass="ttname"><ahref="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285a4318e1cf6017f194840a32dd1be1d57f">OS_THREAD_STATE_WAITING</a></div><divclass="ttdoc">Thread is waiting, i.e. on a mutex. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00063">thread.h:63</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga62e2afe54836ced17ce04b005b9be728"><divclass="ttname"><ahref="group__coreinit__thread.html#ga62e2afe54836ced17ce04b005b9be728">OSGetThreadAffinity</a></div><divclass="ttdeci">uint32_t OSGetThreadAffinity(OSThread *thread)</div><divclass="ttdoc">Get a thread&#39;s affinity. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a2cc41d719c59b65ac3ea023bf3f42286"><divclass="ttname"><ahref="group__coreinit__thread.html#a2cc41d719c59b65ac3ea023bf3f42286">OSThread::specific</a></div><divclass="ttdeci">void * specific[0x10]</div><divclass="ttdoc">Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00180">thread.h:180</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga40601ddddabf312483c9a3da0a924fa6"><divclass="ttname"><ahref="group__coreinit__thread.html#ga40601ddddabf312483c9a3da0a924fa6">OSSleepThread</a></div><divclass="ttdeci">void OSSleepThread(OSThreadQueue *queue)</div><divclass="ttdoc">Sleep the current thread and add it to a thread queue. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_af7a13b9b9c0c4a91fd90af02e7ea7771"><divclass="ttname"><ahref="group__coreinit__thread.html#af7a13b9b9c0c4a91fd90af02e7ea7771">OSThread::link</a></div><divclass="ttdeci">OSThreadLink link</div><divclass="ttdoc">Link used for thread queue. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00154">thread.h:154</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaa3241ca6d126d3b4dc4be94d9836f573"><divclass="ttname"><ahref="group__coreinit__thread.html#gaa3241ca6d126d3b4dc4be94d9836f573">OSRunThread</a></div><divclass="ttdeci">BOOL OSRunThread(OSThread *thread, OSThreadEntryPointFn entry, int argc, const char **argv)</div><divclass="ttdoc">Run a function on an already created thread. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaa5ec19889db9ab9d679ed56b49c8dd44"><divclass="ttname"><ahref="group__coreinit__thread.html#gaa5ec19889db9ab9d679ed56b49c8dd44">OSSetThreadSpecific</a></div><divclass="ttdeci">void OSSetThreadSpecific(uint32_t id, void *value)</div><divclass="ttdoc">Set a thread specific value. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_a153ded885759fdfe2b26d53afbbba830"><divclass="ttname"><ahref="group__coreinit__thread.html#a153ded885759fdfe2b26d53afbbba830">OSThread::attr</a></div><divclass="ttdeci">OSThreadAttributes attr</div><divclass="ttdoc">Bitfield of OS_THREAD_ATTRIB. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00131">thread.h:131</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga3d5f9fe631c3b30a30ee84a2d32a617c"><divclass="ttname"><ahref="group__coreinit__thread.html#ga3d5f9fe631c3b30a30ee84a2d32a617c">OSTestThreadCancel</a></div><divclass="ttdeci">void OSTestThreadCancel()</div><divclass="ttdoc">Check to see if the current thread should be cancelled or suspended. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga481f2365b62f2ed1b7cda3d0bec91ff2"><divclass="ttname"><ahref="group__coreinit__thread.html#ga481f2365b62f2ed1b7cda3d0bec91ff2">OSExitThread</a></div><divclass="ttdeci">void OSExitThread(int32_t result)</div><divclass="ttdoc">Exit the current thread with a exit code. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gab5f71458522cd623a26fda4bc7a08706"><divclass="ttname"><ahref="group__coreinit__thread.html#gab5f71458522cd623a26fda4bc7a08706">OSSetThreadDeallocator</a></div><divclass="ttdeci">OSThreadDeallocatorFn OSSetThreadDeallocator(OSThread *thread, OSThreadDeallocatorFn deallocator)</div><divclass="ttdoc">Set the callback to be called just after a thread is terminated. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaddb66bd8a4fcdd50eec34e0eaabaa4ea"><divclass="ttname"><ahref="group__coreinit__thread.html#gaddb66bd8a4fcdd50eec34e0eaabaa4ea">OSSetThreadCleanupCallback</a></div><divclass="ttdeci">OSThreadCleanupCallbackFn OSSetThreadCleanupCallback(OSThread *thread, OSThreadCleanupCallbackFn callback)</div><divclass="ttdoc">Set the callback to be called just before a thread is terminated. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85"><divclass="ttname"><ahref="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519a6b6ea70f704c863a0a37b03ffbffaa85">OS_THREAD_ATTRIB_STACK_USAGE</a></div><divclass="ttdoc">Enables tracking of stack usage. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00094">thread.h:94</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_afcde11463f0a6ad5922e39525ec03c7e"><divclass="ttname"><ahref="group__coreinit__thread.html#afcde11463f0a6ad5922e39525ec03c7e">OSThread::stackEnd</a></div><divclass="ttdeci">void * stackEnd</div><divclass="ttdoc">Stack end (bottom, lowest address) </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00172">thread.h:172</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ga0bec4859c6c3575439660463ab58fc14"><divclass="ttname"><ahref="group__coreinit__thread.html#ga0bec4859c6c3575439660463ab58fc14">OSIsThreadTerminated</a></div><divclass="ttdeci">BOOL OSIsThreadTerminated(OSThread *thread)</div><divclass="ttdoc">Returns TRUE if a thread is terminated. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f"><divclass="ttname"><ahref="group__coreinit__thread.html#gga2051f6f880e722ee1c16d7a9b33fc285aba95f54efb4f40634409efe14ac7aa1f">OS_THREAD_STATE_READY</a></div><divclass="ttdoc">Thread is ready to run. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00057">thread.h:57</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_abf662d124c8c0e60275f632c06d97dd1"><divclass="ttname"><ahref="group__coreinit__thread.html#abf662d124c8c0e60275f632c06d97dd1">OSThread::suspendCounter</a></div><divclass="ttdeci">int32_t suspendCounter</div><divclass="ttdoc">Suspend count (increased by OSSuspendThread). </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00137">thread.h:137</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_ac4c316e77fc64758b15a09a6b5756bb1"><divclass="ttname"><ahref="group__coreinit__thread.html#ac4c316e77fc64758b15a09a6b5756bb1">OSThread::suspendResult</a></div><divclass="ttdeci">int32_t suspendResult</div><divclass="ttdoc">Result of thread suspend. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00208">thread.h:208</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gaf3ca5305804fa4552529c5912c96ce2b"><divclass="ttname"><ahref="group__coreinit__thread.html#gaf3ca5305804fa4552529c5912c96ce2b">OSClearThreadStackUsage</a></div><divclass="ttdeci">void OSClearThreadStackUsage(OSThread *thread)</div><divclass="ttdoc">Disable tracking of thread stack usage. </div></div>
<divclass="ttc"id="group__coreinit__thread_html_ab426d2b1b54499adfbda3a7922e69ff0"><divclass="ttname"><ahref="group__coreinit__thread.html#ab426d2b1b54499adfbda3a7922e69ff0">OSThread::queue</a></div><divclass="ttdeci">OSThreadQueue * queue</div><divclass="ttdoc">Queue the thread is currently waiting on. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00151">thread.h:151</a></div></div>
<divclass="ttc"id="group__coreinit__thread_html_gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7"><divclass="ttname"><ahref="group__coreinit__thread.html#gga93f63e1c4e8826006db8878c9a6d0519adcea8a57b4636bc5a0c3e283ce83e0f7">OS_THREAD_ATTRIB_AFFINITY_CPU1</a></div><divclass="ttdoc">Allow the thread to run on CPU1. </div><divclass="ttdef"><b>Definition:</b><ahref="thread_8h_source.html#l00082">thread.h:82</a></div></div>