wut/coreinit_2event_8h.html
2019-04-22 10:21:17 +10:00

146 lines
12 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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/ash/src/wut/include/coreinit/event.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-beta8</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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">event.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="thread_8h_source.html">thread.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="coreinit_2event_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:structOSEvent"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a></td></tr>
<tr class="separator:structOSEvent"><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:ga2a99a920404e118e9b530e940ebf1b93"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga2a99a920404e118e9b530e940ebf1b93">OS_EVENT_TAG</a>&#160;&#160;&#160;0x65566E54u</td></tr>
<tr class="separator:ga2a99a920404e118e9b530e940ebf1b93"><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:ga6dff053541cf60f3a34ab013e503382b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga6dff053541cf60f3a34ab013e503382b">OSEvent</a></td></tr>
<tr class="separator:ga6dff053541cf60f3a34ab013e503382b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c31a79682965fde4cdf1b841f3b6e48"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__event.html#ga2d1b8c1aaa6e238daac84212cd597d02">OSEventMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga2c31a79682965fde4cdf1b841f3b6e48">OSEventMode</a></td></tr>
<tr class="separator:ga2c31a79682965fde4cdf1b841f3b6e48"><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:ga2d1b8c1aaa6e238daac84212cd597d02"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga2d1b8c1aaa6e238daac84212cd597d02">OSEventMode</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__event.html#gga2d1b8c1aaa6e238daac84212cd597d02a15b47b989cf26fdc0bfc7739dd62cbca">OS_EVENT_MODE_MANUAL</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__event.html#gga2d1b8c1aaa6e238daac84212cd597d02a58aa26fa59ff73667a320f9eca1c6fd6">OS_EVENT_MODE_AUTO</a> = 1
<br />
}</td></tr>
<tr class="separator:ga2d1b8c1aaa6e238daac84212cd597d02"><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:ga8acaa46f677e69f110a19a2e956ddcd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga8acaa46f677e69f110a19a2e956ddcd6">OSInitEvent</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event, <a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> value, <a class="el" href="group__coreinit__event.html#ga2d1b8c1aaa6e238daac84212cd597d02">OSEventMode</a> mode)</td></tr>
<tr class="memdesc:ga8acaa46f677e69f110a19a2e956ddcd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise an event object with value and mode. <a href="group__coreinit__event.html#ga8acaa46f677e69f110a19a2e956ddcd6">More...</a><br /></td></tr>
<tr class="separator:ga8acaa46f677e69f110a19a2e956ddcd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga152505eccadef17efdd8b6cca2f8ce2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga152505eccadef17efdd8b6cca2f8ce2f">OSInitEventEx</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event, <a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> value, <a class="el" href="group__coreinit__event.html#ga2d1b8c1aaa6e238daac84212cd597d02">OSEventMode</a> mode, char *name)</td></tr>
<tr class="memdesc:ga152505eccadef17efdd8b6cca2f8ce2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise an event object with value, mode and name. <a href="group__coreinit__event.html#ga152505eccadef17efdd8b6cca2f8ce2f">More...</a><br /></td></tr>
<tr class="separator:ga152505eccadef17efdd8b6cca2f8ce2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18f11bbc98f004476e1b7ef5b72b20b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga18f11bbc98f004476e1b7ef5b72b20b4">OSSignalEvent</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event)</td></tr>
<tr class="memdesc:ga18f11bbc98f004476e1b7ef5b72b20b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signals the event. <a href="group__coreinit__event.html#ga18f11bbc98f004476e1b7ef5b72b20b4">More...</a><br /></td></tr>
<tr class="separator:ga18f11bbc98f004476e1b7ef5b72b20b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e66a2b0c064dd3b280fbb474dd4d083"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga8e66a2b0c064dd3b280fbb474dd4d083">OSSignalEventAll</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event)</td></tr>
<tr class="memdesc:ga8e66a2b0c064dd3b280fbb474dd4d083"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signals all threads waiting on an event. <a href="group__coreinit__event.html#ga8e66a2b0c064dd3b280fbb474dd4d083">More...</a><br /></td></tr>
<tr class="separator:ga8e66a2b0c064dd3b280fbb474dd4d083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c1778dbfa0b9ae29248d4b8fe481c11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga3c1778dbfa0b9ae29248d4b8fe481c11">OSWaitEvent</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event)</td></tr>
<tr class="memdesc:ga3c1778dbfa0b9ae29248d4b8fe481c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wait until an event is signalled. <a href="group__coreinit__event.html#ga3c1778dbfa0b9ae29248d4b8fe481c11">More...</a><br /></td></tr>
<tr class="separator:ga3c1778dbfa0b9ae29248d4b8fe481c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27699986af3f6eee35c6cda0033d071c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__event.html#ga27699986af3f6eee35c6cda0033d071c">OSResetEvent</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event)</td></tr>
<tr class="memdesc:ga27699986af3f6eee35c6cda0033d071c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the event object. <a href="group__coreinit__event.html#ga27699986af3f6eee35c6cda0033d071c">More...</a><br /></td></tr>
<tr class="separator:ga27699986af3f6eee35c6cda0033d071c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf35db0845e7b82bff1376df3564174b4"><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__event.html#gaf35db0845e7b82bff1376df3564174b4">OSWaitEventWithTimeout</a> (<a class="el" href="group__coreinit__event.html#structOSEvent">OSEvent</a> *event, <a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> timeout)</td></tr>
<tr class="memdesc:gaf35db0845e7b82bff1376df3564174b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wait until an event is signalled or a timeout has occurred. <a href="group__coreinit__event.html#gaf35db0845e7b82bff1376df3564174b4">More...</a><br /></td></tr>
<tr class="separator:gaf35db0845e7b82bff1376df3564174b4"><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.15
</small></address>
</body>
</html>