D7net Mini Sh3LL v1
Current File : //usr/share/systemd/../doc/php-common/../tar/../patch/../libaprutil1-dev/html/apr__anylock_8h.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>Apache Portable Runtime Utility Library: apr_anylock.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">Apache Portable Runtime Utility Library
</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&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> </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> </div>
<div class="headertitle">
<div class="title">apr_anylock.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>APR-Util transparent any lock flavor wrapper.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include "apr_proc_mutex.h"</code><br />
<code>#include "apr_thread_mutex.h"</code><br />
<code>#include "apr_thread_rwlock.h"</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for apr_anylock.h:</div>
<div class="dyncontent">
<div class="center"><img src="apr__anylock_8h__incl.png" border="0" usemap="#apr__anylock_8h" alt=""/></div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="apr__anylock_8h__dep__incl.png" border="0" usemap="#apr__anylock_8hdep" alt=""/></div>
</div>
</div>
<p><a href="apr__anylock_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:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__anylock__t.html">apr_anylock_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="unionapr__anylock__t_1_1apr__anylock__u__t.html">apr_anylock_t::apr_anylock_u_t</a></td></tr>
<tr class="separator:"><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:ac43b130fb19a434647c34e1d7040fc49"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apr__anylock_8h.html#ac43b130fb19a434647c34e1d7040fc49">APR_ANYLOCK_LOCK</a>(lck)</td></tr>
<tr class="separator:ac43b130fb19a434647c34e1d7040fc49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afbc6bc9b6cabe0db55e8896fc26053f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apr__anylock_8h.html#afbc6bc9b6cabe0db55e8896fc26053f4">APR_ANYLOCK_TRYLOCK</a>(lck)</td></tr>
<tr class="separator:afbc6bc9b6cabe0db55e8896fc26053f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a367f0d4cc5239e95ee925542d4a0b3fb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apr__anylock_8h.html#a367f0d4cc5239e95ee925542d4a0b3fb">APR_ANYLOCK_UNLOCK</a>(lck)</td></tr>
<tr class="separator:a367f0d4cc5239e95ee925542d4a0b3fb"><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:afa7966a5d86be829f9e72583d4c075e5"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structapr__anylock__t.html">apr_anylock_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="apr__anylock_8h.html#afa7966a5d86be829f9e72583d4c075e5">apr_anylock_t</a></td></tr>
<tr class="separator:afa7966a5d86be829f9e72583d4c075e5"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>APR-Util transparent any lock flavor wrapper. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ac43b130fb19a434647c34e1d7040fc49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac43b130fb19a434647c34e1d7040fc49">◆ </a></span>APR_ANYLOCK_LOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ANYLOCK_LOCK</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">lck</td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"> (((lck)->type == apr_anylock_none) \</div>
<div class="line"> ? APR_SUCCESS \</div>
<div class="line"> : (((lck)->type == apr_anylock_threadmutex) \</div>
<div class="line"> ? apr_thread_mutex_lock((lck)->lock.tm) \</div>
<div class="line"> : (((lck)->type == apr_anylock_procmutex) \</div>
<div class="line"> ? apr_proc_mutex_lock((lck)->lock.pm) \</div>
<div class="line"> : (((lck)->type == apr_anylock_readlock) \</div>
<div class="line"> ? apr_thread_rwlock_rdlock((lck)->lock.rw) \</div>
<div class="line"> : (((lck)->type == apr_anylock_writelock) \</div>
<div class="line"> ? apr_thread_rwlock_wrlock((lck)->lock.rw) \</div>
<div class="line"> : APR_EINVAL)))))</div>
</div><!-- fragment --><p>Lock an <a class="el" href="structapr__anylock__t.html">apr_anylock_t</a> structure </p>
</div>
</div>
<a id="afbc6bc9b6cabe0db55e8896fc26053f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbc6bc9b6cabe0db55e8896fc26053f4">◆ </a></span>APR_ANYLOCK_TRYLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ANYLOCK_TRYLOCK</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">lck</td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"> (((lck)->type == apr_anylock_none) \</div>
<div class="line"> ? APR_SUCCESS \</div>
<div class="line"> : (((lck)->type == apr_anylock_threadmutex) \</div>
<div class="line"> ? apr_thread_mutex_trylock((lck)->lock.tm) \</div>
<div class="line"> : (((lck)->type == apr_anylock_procmutex) \</div>
<div class="line"> ? apr_proc_mutex_trylock((lck)->lock.pm) \</div>
<div class="line"> : (((lck)->type == apr_anylock_readlock) \</div>
<div class="line"> ? apr_thread_rwlock_tryrdlock((lck)->lock.rw) \</div>
<div class="line"> : (((lck)->type == apr_anylock_writelock) \</div>
<div class="line"> ? apr_thread_rwlock_trywrlock((lck)->lock.rw) \</div>
<div class="line"> : APR_EINVAL)))))</div>
</div><!-- fragment --><p>Try to lock an <a class="el" href="structapr__anylock__t.html">apr_anylock_t</a> structure </p>
</div>
</div>
<a id="a367f0d4cc5239e95ee925542d4a0b3fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a367f0d4cc5239e95ee925542d4a0b3fb">◆ </a></span>APR_ANYLOCK_UNLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_ANYLOCK_UNLOCK</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">lck</td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"> (((lck)->type == apr_anylock_none) \</div>
<div class="line"> ? APR_SUCCESS \</div>
<div class="line"> : (((lck)->type == apr_anylock_threadmutex) \</div>
<div class="line"> ? apr_thread_mutex_unlock((lck)->lock.tm) \</div>
<div class="line"> : (((lck)->type == apr_anylock_procmutex) \</div>
<div class="line"> ? apr_proc_mutex_unlock((lck)->lock.pm) \</div>
<div class="line"> : ((((lck)->type == apr_anylock_readlock) || \</div>
<div class="line"> ((lck)->type == apr_anylock_writelock)) \</div>
<div class="line"> ? apr_thread_rwlock_unlock((lck)->lock.rw) \</div>
<div class="line"> : APR_EINVAL))))</div>
</div><!-- fragment --><p>Unlock an <a class="el" href="structapr__anylock__t.html">apr_anylock_t</a> structure </p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="afa7966a5d86be829f9e72583d4c075e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa7966a5d86be829f9e72583d4c075e5">◆ </a></span>apr_anylock_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structapr__anylock__t.html">apr_anylock_t</a> <a class="el" href="structapr__anylock__t.html">apr_anylock_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Structure that may contain any APR lock type </p>
</div>
</div>
</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.17
</small></address>
</body>
</html>
AnonSec - 2021 | Recode By D7net