wut/group__coreinit__spinlock.html
2020-03-26 16:49:18 +11:00

332 lines
18 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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: Spinlock</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-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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>
</div><!-- top -->
<!-- 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 class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Spinlock<div class="ingroups"><a class="el" href="group__coreinit.html">coreinit</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gae8be4af7c8a7c9932e945f98e8a6b3e9"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a></td></tr>
<tr class="separator:gae8be4af7c8a7c9932e945f98e8a6b3e9"><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:ga46ab60649e9e54d32f6058bed6df94ca"><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__spinlock.html#ga46ab60649e9e54d32f6058bed6df94ca">WUT_ALIGNAS</a> (16) <a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a></td></tr>
<tr class="separator:ga46ab60649e9e54d32f6058bed6df94ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ebe9d5b1b3a82307f98dadce4433c31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__spinlock.html#ga6ebe9d5b1b3a82307f98dadce4433c31">OSInitSpinLock</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:ga6ebe9d5b1b3a82307f98dadce4433c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50aaa96b3d9e1cd8a0397ba626da89fe"><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__spinlock.html#ga50aaa96b3d9e1cd8a0397ba626da89fe">OSAcquireSpinLock</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:ga50aaa96b3d9e1cd8a0397ba626da89fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70ce81a491f3bd8160691f400c8e97a3"><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__spinlock.html#ga70ce81a491f3bd8160691f400c8e97a3">OSTryAcquireSpinLock</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:ga70ce81a491f3bd8160691f400c8e97a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga944e03c9a96887f0883d75a2a2d28e96"><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__spinlock.html#ga944e03c9a96887f0883d75a2a2d28e96">OSTryAcquireSpinLockWithTimeout</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock, <a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> timeout)</td></tr>
<tr class="separator:ga944e03c9a96887f0883d75a2a2d28e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4a86cb173962b14be56047718298bb7"><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__spinlock.html#gae4a86cb173962b14be56047718298bb7">OSReleaseSpinLock</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:gae4a86cb173962b14be56047718298bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79b3b669d228cf5ee242456da27e101c"><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__spinlock.html#ga79b3b669d228cf5ee242456da27e101c">OSUninterruptibleSpinLock_Acquire</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:ga79b3b669d228cf5ee242456da27e101c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa32c5717b802079a55afa1435003f410"><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__spinlock.html#gaa32c5717b802079a55afa1435003f410">OSUninterruptibleSpinLock_TryAcquire</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:gaa32c5717b802079a55afa1435003f410"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae2cd618076e2f5b5ce83d44a91e0f03"><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__spinlock.html#gaae2cd618076e2f5b5ce83d44a91e0f03">OSUninterruptibleSpinLock_TryAcquireWithTimeout</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock, <a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> timeout)</td></tr>
<tr class="separator:gaae2cd618076e2f5b5ce83d44a91e0f03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab22a9a511ed2662965c25a14fcf2c34"><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__spinlock.html#gaab22a9a511ed2662965c25a14fcf2c34">OSUninterruptibleSpinLock_Release</a> (<a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *spinlock)</td></tr>
<tr class="separator:gaab22a9a511ed2662965c25a14fcf2c34"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="gae8be4af7c8a7c9932e945f98e8a6b3e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae8be4af7c8a7c9932e945f98e8a6b3e9">&#9670;&nbsp;</a></span>OSSpinLock</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> <a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="spinlock_8h_source.html#l00015">15</a> of file <a class="el" href="spinlock_8h_source.html">spinlock.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga46ab60649e9e54d32f6058bed6df94ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga46ab60649e9e54d32f6058bed6df94ca">&#9670;&nbsp;</a></span>WUT_ALIGNAS()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct WUT_ALIGNAS </td>
<td>(</td>
<td class="paramtype">16&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="spinlock_8h_source.html#l00017">17</a> of file <a class="el" href="spinlock_8h_source.html">spinlock.h</a>.</p>
</div>
</div>
<a id="ga6ebe9d5b1b3a82307f98dadce4433c31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6ebe9d5b1b3a82307f98dadce4433c31">&#9670;&nbsp;</a></span>OSInitSpinLock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSInitSpinLock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga50aaa96b3d9e1cd8a0397ba626da89fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50aaa96b3d9e1cd8a0397ba626da89fe">&#9670;&nbsp;</a></span>OSAcquireSpinLock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSAcquireSpinLock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga70ce81a491f3bd8160691f400c8e97a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70ce81a491f3bd8160691f400c8e97a3">&#9670;&nbsp;</a></span>OSTryAcquireSpinLock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSTryAcquireSpinLock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga944e03c9a96887f0883d75a2a2d28e96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga944e03c9a96887f0883d75a2a2d28e96">&#9670;&nbsp;</a></span>OSTryAcquireSpinLockWithTimeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSTryAcquireSpinLockWithTimeout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td>
<td class="paramname"><em>timeout</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gae4a86cb173962b14be56047718298bb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae4a86cb173962b14be56047718298bb7">&#9670;&nbsp;</a></span>OSReleaseSpinLock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSReleaseSpinLock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga79b3b669d228cf5ee242456da27e101c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga79b3b669d228cf5ee242456da27e101c">&#9670;&nbsp;</a></span>OSUninterruptibleSpinLock_Acquire()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSUninterruptibleSpinLock_Acquire </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaa32c5717b802079a55afa1435003f410"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa32c5717b802079a55afa1435003f410">&#9670;&nbsp;</a></span>OSUninterruptibleSpinLock_TryAcquire()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSUninterruptibleSpinLock_TryAcquire </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaae2cd618076e2f5b5ce83d44a91e0f03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae2cd618076e2f5b5ce83d44a91e0f03">&#9670;&nbsp;</a></span>OSUninterruptibleSpinLock_TryAcquireWithTimeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSUninterruptibleSpinLock_TryAcquireWithTimeout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td>
<td class="paramname"><em>timeout</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaab22a9a511ed2662965c25a14fcf2c34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab22a9a511ed2662965c25a14fcf2c34">&#9670;&nbsp;</a></span>OSUninterruptibleSpinLock_Release()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSUninterruptibleSpinLock_Release </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9">OSSpinLock</a> *&#160;</td>
<td class="paramname"><em>spinlock</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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.17
</small></address>
</body>
</html>