<ahref="coreinit_2core_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="preprocessor">#include <<aclass="code"href="wut_8h.html">wut.h</a>></span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> </div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="preprocessor">#ifdef __cplusplus</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="keyword">extern</span><spanclass="stringliteral">"C"</span> {</div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> </div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> </div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> uint32_t</div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <aclass="code"href="group__coreinit__core.html#gad2736cecb831e8d817d4520ddbe2199e">OSGetCoreCount</a>();</div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> </div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> </div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> uint32_t</div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <aclass="code"href="group__coreinit__core.html#gae46ae66c00e018f914ba43df11035651">OSGetCoreId</a>();</div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> </div><divclass="line"><aname="l00043"></a><spanclass="lineno"> 43</span> uint32_t</div><divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span> <aclass="code"href="group__coreinit__core.html#ga03db251f12f03a71015d824212f53044">OSGetMainCoreId</a>();</div><divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span> </div><divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span> </div><divclass="line"><aname="l00057"></a><spanclass="lineno"> 57</span> <aclass="code"href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><divclass="line"><aname="l00058"></a><spanclass="lineno"> 58</span> <aclass="code"href="group__coreinit__core.html#gaeb060ef03e7d812f07709738601b004e">OSIsMainCore</a>();</div><divclass="line"><aname="l00059"></a><spanclass="lineno"> 59</span> </div><divclass="line"><aname="l00060"></a><spanclass="lineno"> 60</span> </div><divclass="line"><aname="l00061"></a><spanclass="lineno"> 61</span> <spanclass="preprocessor">#ifdef __cplusplus</span></div><divclass="line"><aname="l00062"></a><spanclass="lineno"> 62</span> }</div><divclass="line"><aname="l00063"></a><spanclass="lineno"> 63</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00064"></a><spanclass="lineno"> 64</span> </div><divclass="ttc"id="group__coreinit__core_html_gae46ae66c00e018f914ba43df11035651"><divclass="ttname"><ahref="group__coreinit__core.html#gae46ae66c00e018f914ba43df11035651">OSGetCoreId</a></div><divclass="ttdeci">uint32_t OSGetCoreId()</div><divclass="ttdoc">Gets the core executing the current thread.</div></div>
<divclass="ttc"id="group__coreinit__core_html_ga03db251f12f03a71015d824212f53044"><divclass="ttname"><ahref="group__coreinit__core.html#ga03db251f12f03a71015d824212f53044">OSGetMainCoreId</a></div><divclass="ttdeci">uint32_t OSGetMainCoreId()</div><divclass="ttdoc">Gets the main core of the system.</div></div>
<divclass="ttc"id="group__coreinit__core_html_gad2736cecb831e8d817d4520ddbe2199e"><divclass="ttname"><ahref="group__coreinit__core.html#gad2736cecb831e8d817d4520ddbe2199e">OSGetCoreCount</a></div><divclass="ttdeci">uint32_t OSGetCoreCount()</div><divclass="ttdoc">Gets the number of cores in the system.</div></div>
<divclass="ttc"id="group__coreinit__core_html_gaeb060ef03e7d812f07709738601b004e"><divclass="ttname"><ahref="group__coreinit__core.html#gaeb060ef03e7d812f07709738601b004e">OSIsMainCore</a></div><divclass="ttdeci">BOOL OSIsMainCore()</div><divclass="ttdoc">Determines whether the current thread is running on the main core.</div></div>