mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 15:10:41 +01:00
129 lines
9.9 KiB
HTML
129 lines
9.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: include/coreinit/semaphore.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
|
|
 <span id="projectnumber">1.0.0-alpha</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<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="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">semaphore.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <<a class="el" href="wut_8h_source.html">wut.h</a>></code><br />
|
|
<code>#include "<a class="el" href="threadqueue_8h_source.html">threadqueue.h</a>"</code><br />
|
|
</div>
|
|
<p><a href="semaphore_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:structOSSemaphore"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a></td></tr>
|
|
<tr class="separator:structOSSemaphore"><td class="memSeparator" colspan="2"> </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:ga888ed45dfac53be5a7023823c826ed64"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#ga888ed45dfac53be5a7023823c826ed64">OS_SEMAPHORE_TAG</a>   0x73506852u</td></tr>
|
|
<tr class="separator:ga888ed45dfac53be5a7023823c826ed64"><td class="memSeparator" colspan="2"> </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:ga46989e5d6706438811f38e7b76e803a7"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#ga46989e5d6706438811f38e7b76e803a7">OSSemaphore</a></td></tr>
|
|
<tr class="separator:ga46989e5d6706438811f38e7b76e803a7"><td class="memSeparator" colspan="2"> </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:gaf135af1869002a8137894aabbbd061b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#gaf135af1869002a8137894aabbbd061b1">OSInitSemaphore</a> (<a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> *semaphore, int32_t count)</td></tr>
|
|
<tr class="memdesc:gaf135af1869002a8137894aabbbd061b1"><td class="mdescLeft"> </td><td class="mdescRight">Initialise semaphore object with count. <a href="group__coreinit__semaphore.html#gaf135af1869002a8137894aabbbd061b1">More...</a><br /></td></tr>
|
|
<tr class="separator:gaf135af1869002a8137894aabbbd061b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad4af5a89ce56153ce57b9145f2e51e0a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#gad4af5a89ce56153ce57b9145f2e51e0a">OSInitSemaphoreEx</a> (<a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> *semaphore, int32_t count, const char *name)</td></tr>
|
|
<tr class="memdesc:gad4af5a89ce56153ce57b9145f2e51e0a"><td class="mdescLeft"> </td><td class="mdescRight">Initialise semaphore object with count and name. <a href="group__coreinit__semaphore.html#gad4af5a89ce56153ce57b9145f2e51e0a">More...</a><br /></td></tr>
|
|
<tr class="separator:gad4af5a89ce56153ce57b9145f2e51e0a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac520cef5f6f40bbd3f917b486d9fec33"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#gac520cef5f6f40bbd3f917b486d9fec33">OSGetSemaphoreCount</a> (<a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> *semaphore)</td></tr>
|
|
<tr class="memdesc:gac520cef5f6f40bbd3f917b486d9fec33"><td class="mdescLeft"> </td><td class="mdescRight">Get the current semaphore count. <a href="group__coreinit__semaphore.html#gac520cef5f6f40bbd3f917b486d9fec33">More...</a><br /></td></tr>
|
|
<tr class="separator:gac520cef5f6f40bbd3f917b486d9fec33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5a1ba1984a871044aa31ff0f40d52806"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#ga5a1ba1984a871044aa31ff0f40d52806">OSSignalSemaphore</a> (<a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> *semaphore)</td></tr>
|
|
<tr class="memdesc:ga5a1ba1984a871044aa31ff0f40d52806"><td class="mdescLeft"> </td><td class="mdescRight">Increase the semaphore value. <a href="group__coreinit__semaphore.html#ga5a1ba1984a871044aa31ff0f40d52806">More...</a><br /></td></tr>
|
|
<tr class="separator:ga5a1ba1984a871044aa31ff0f40d52806"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga02e41ca9da26f52a7c3867531e2711ac"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#ga02e41ca9da26f52a7c3867531e2711ac">OSWaitSemaphore</a> (<a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> *semaphore)</td></tr>
|
|
<tr class="memdesc:ga02e41ca9da26f52a7c3867531e2711ac"><td class="mdescLeft"> </td><td class="mdescRight">Decrease the semaphore value. <a href="group__coreinit__semaphore.html#ga02e41ca9da26f52a7c3867531e2711ac">More...</a><br /></td></tr>
|
|
<tr class="separator:ga02e41ca9da26f52a7c3867531e2711ac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga289bfdb3843d8615c365e91d196f008b"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__semaphore.html#ga289bfdb3843d8615c365e91d196f008b">OSTryWaitSemaphore</a> (<a class="el" href="group__coreinit__semaphore.html#structOSSemaphore">OSSemaphore</a> *semaphore)</td></tr>
|
|
<tr class="memdesc:ga289bfdb3843d8615c365e91d196f008b"><td class="mdescLeft"> </td><td class="mdescRight">Try to decrease the semaphore value. <a href="group__coreinit__semaphore.html#ga289bfdb3843d8615c365e91d196f008b">More...</a><br /></td></tr>
|
|
<tr class="separator:ga289bfdb3843d8615c365e91d196f008b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
</div><!-- contents -->
|
|
<!-- 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.14
|
|
</small></address>
|
|
</body>
|
|
</html>
|