<divclass="ttc"id="group__coreinit__semaphore_html_ga02e41ca9da26f52a7c3867531e2711ac"><divclass="ttname"><ahref="group__coreinit__semaphore.html#ga02e41ca9da26f52a7c3867531e2711ac">OSWaitSemaphore</a></div><divclass="ttdeci">int32_t OSWaitSemaphore(OSSemaphore *semaphore)</div><divclass="ttdoc">Decrease the semaphore value.</div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_a8f8f80d37794cde9472343e4487ba3eb"><divclass="ttname"><ahref="group__coreinit__semaphore.html#a8f8f80d37794cde9472343e4487ba3eb">OSSemaphore::name</a></div><divclass="ttdeci">const char * name</div><divclass="ttdoc">Name set by OSInitMutexEx.</div><divclass="ttdef"><b>Definition:</b><ahref="semaphore_8h_source.html#l00027">semaphore.h:27</a></div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_a4858b400f708a13bd514376ab941b27d"><divclass="ttname"><ahref="group__coreinit__semaphore.html#a4858b400f708a13bd514376ab941b27d">OSSemaphore::count</a></div><divclass="ttdeci">int32_t count</div><divclass="ttdoc">Current count of semaphore.</div><divclass="ttdef"><b>Definition:</b><ahref="semaphore_8h_source.html#l00032">semaphore.h:32</a></div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_gad4af5a89ce56153ce57b9145f2e51e0a"><divclass="ttname"><ahref="group__coreinit__semaphore.html#gad4af5a89ce56153ce57b9145f2e51e0a">OSInitSemaphoreEx</a></div><divclass="ttdeci">void OSInitSemaphoreEx(OSSemaphore *semaphore, int32_t count, const char *name)</div><divclass="ttdoc">Initialise semaphore object with count and name.</div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_ga5a1ba1984a871044aa31ff0f40d52806"><divclass="ttname"><ahref="group__coreinit__semaphore.html#ga5a1ba1984a871044aa31ff0f40d52806">OSSignalSemaphore</a></div><divclass="ttdeci">int32_t OSSignalSemaphore(OSSemaphore *semaphore)</div><divclass="ttdoc">Increase the semaphore value.</div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_gac520cef5f6f40bbd3f917b486d9fec33"><divclass="ttname"><ahref="group__coreinit__semaphore.html#gac520cef5f6f40bbd3f917b486d9fec33">OSGetSemaphoreCount</a></div><divclass="ttdeci">int32_t OSGetSemaphoreCount(OSSemaphore *semaphore)</div><divclass="ttdoc">Get the current semaphore count.</div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_a1c50fcd1195659821729f52af8f3bb7d"><divclass="ttname"><ahref="group__coreinit__semaphore.html#a1c50fcd1195659821729f52af8f3bb7d">OSSemaphore::tag</a></div><divclass="ttdeci">uint32_t tag</div><divclass="ttdoc">Should always be set to the value OS_SEMAPHORE_TAG.</div><divclass="ttdef"><b>Definition:</b><ahref="semaphore_8h_source.html#l00024">semaphore.h:24</a></div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_gaf135af1869002a8137894aabbbd061b1"><divclass="ttname"><ahref="group__coreinit__semaphore.html#gaf135af1869002a8137894aabbbd061b1">OSInitSemaphore</a></div><divclass="ttdeci">void OSInitSemaphore(OSSemaphore *semaphore, int32_t count)</div><divclass="ttdoc">Initialise semaphore object with count.</div></div>
<divclass="ttc"id="group__coreinit__semaphore_html_a4c72ffd2d6a41665aa8203649acbb46d"><divclass="ttname"><ahref="group__coreinit__semaphore.html#a4c72ffd2d6a41665aa8203649acbb46d">OSSemaphore::queue</a></div><divclass="ttdeci">OSThreadQueue queue</div><divclass="ttdoc">Queue of threads waiting on semaphore object with OSWaitSemaphore.</div><divclass="ttdef"><b>Definition:</b><ahref="semaphore_8h_source.html#l00035">semaphore.h:35</a></div></div>