D7net Mini Sh3LL v1
Current File : /var/../bin/../include/../share/doc/tzdata/../libapr1-dev/html/group___a_p_r___global_mutex.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: Global Locking Routines</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
</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>
</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> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Global Locking Routines<div class="ingroups"><a class="el" href="group___a_p_r.html">Apache Portability Runtime library</a></div></div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Global Locking Routines:</div>
<div class="dyncontent">
<div class="center"><img src="group___a_p_r___global_mutex.png" border="0" usemap="#group______a__p__r______global__mutex" alt=""/></div>
<!-- MAP 0 -->
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga3fc7dc5b076533ee566aa4888ac35ee7"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a></td></tr>
<tr class="separator:ga3fc7dc5b076533ee566aa4888ac35ee7"><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:ga7a5ade1ba8ea6c7a7a61e3e719683cb0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga7a5ade1ba8ea6c7a7a61e3e719683cb0">apr_global_mutex_create</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> **mutex, const char *fname, <a class="el" href="group__apr__proc__mutex.html#ga75dd95a48a1e855a87b509b522746ed4">apr_lockmech_e</a> mech, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
<tr class="separator:ga7a5ade1ba8ea6c7a7a61e3e719683cb0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga51eb034bca0352075c92c08a21d4d7a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga51eb034bca0352075c92c08a21d4d7a0">apr_global_mutex_child_init</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> **mutex, const char *fname, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
<tr class="separator:ga51eb034bca0352075c92c08a21d4d7a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1338485664e6c2737340114cace57121"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga1338485664e6c2737340114cace57121">apr_global_mutex_lock</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:ga1338485664e6c2737340114cace57121"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2a6543fba6473b47e33a7b7fc2ba6935"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga2a6543fba6473b47e33a7b7fc2ba6935">apr_global_mutex_trylock</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:ga2a6543fba6473b47e33a7b7fc2ba6935"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga16e732ae76dfe104b157e0fc543d3aa3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga16e732ae76dfe104b157e0fc543d3aa3">apr_global_mutex_unlock</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:ga16e732ae76dfe104b157e0fc543d3aa3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1f2cb4a1ec57089db49701e747892607"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga1f2cb4a1ec57089db49701e747892607">apr_global_mutex_destroy</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:ga1f2cb4a1ec57089db49701e747892607"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0d14b6c80cc39bb76f6a038fff1ef5ad"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga0d14b6c80cc39bb76f6a038fff1ef5ad">apr_global_mutex_lockfile</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:ga0d14b6c80cc39bb76f6a038fff1ef5ad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga812b48b7afac2976a148fd16f4ede2de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__proc__mutex.html#ga75dd95a48a1e855a87b509b522746ed4">apr_lockmech_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga812b48b7afac2976a148fd16f4ede2de">apr_global_mutex_mech</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:ga812b48b7afac2976a148fd16f4ede2de"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf4ec155e8b9c6f30a979bc0aeb3721cb"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#gaf4ec155e8b9c6f30a979bc0aeb3721cb">apr_global_mutex_name</a> (<a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *mutex)</td></tr>
<tr class="separator:gaf4ec155e8b9c6f30a979bc0aeb3721cb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga09b08568c41cec184cf2f4915ecc04e9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga09b08568c41cec184cf2f4915ecc04e9">APR_PERMS_SET_IMPLEMENT</a> (global_mutex)</td></tr>
<tr class="separator:ga09b08568c41cec184cf2f4915ecc04e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga01d5c1bbb32b976083b9c8234b04cd46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___global_mutex.html#ga01d5c1bbb32b976083b9c8234b04cd46">apr_global_mutex_pool_get</a> (const <a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> *theglobal_mutex)</td></tr>
<tr class="separator:ga01d5c1bbb32b976083b9c8234b04cd46"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga3fc7dc5b076533ee566aa4888ac35ee7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3fc7dc5b076533ee566aa4888ac35ee7">◆ </a></span>apr_global_mutex_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> <a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque global mutex structure. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga51eb034bca0352075c92c08a21d4d7a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga51eb034bca0352075c92c08a21d4d7a0">◆ </a></span>apr_global_mutex_child_init()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_global_mutex_child_init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> ** </td>
<td class="paramname"><em>mutex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>fname</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td>
<td class="paramname"><em>pool</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Re-open a mutex in a child process. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>The newly re-opened mutex structure. </td></tr>
<tr><td class="paramname">fname</td><td>A file name to use if the mutex mechanism requires one. This argument should always be provided. The mutex code itself will determine if it should be used. This filename should be the same one that was passed to <a class="el" href="group___a_p_r___global_mutex.html#ga7a5ade1ba8ea6c7a7a61e3e719683cb0">apr_global_mutex_create()</a>. </td></tr>
<tr><td class="paramname">pool</td><td>The pool to operate on. </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function must be called to maintain portability, even if the underlying lock mechanism does not require it. </dd></dl>
</div>
</div>
<a id="ga7a5ade1ba8ea6c7a7a61e3e719683cb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7a5ade1ba8ea6c7a7a61e3e719683cb0">◆ </a></span>apr_global_mutex_create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_global_mutex_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> ** </td>
<td class="paramname"><em>mutex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>fname</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__proc__mutex.html#ga75dd95a48a1e855a87b509b522746ed4">apr_lockmech_e</a> </td>
<td class="paramname"><em>mech</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td>
<td class="paramname"><em>pool</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create and initialize a mutex that can be used to synchronize both processes and threads. Note: There is considerable overhead in using this API if only cross-process or cross-thread mutual exclusion is required. See <a class="el" href="apr__proc__mutex_8h.html" title="APR Process Locking Routines.">apr_proc_mutex.h</a> and <a class="el" href="apr__thread__mutex_8h.html" title="APR Thread Mutex Routines.">apr_thread_mutex.h</a> for more specialized lock routines. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the memory address where the newly created mutex will be stored. </td></tr>
<tr><td class="paramname">fname</td><td>A file name to use if the lock mechanism requires one. This argument should always be provided. The lock code itself will determine if it should be used. </td></tr>
<tr><td class="paramname">mech</td><td>The mechanism to use for the interprocess lock, if any; one of <pre>
APR_LOCK_FCNTL
APR_LOCK_FLOCK
APR_LOCK_SYSVSEM
APR_LOCK_POSIXSEM
APR_LOCK_PROC_PTHREAD
APR_LOCK_DEFAULT pick the default mechanism for the platform
</pre> </td></tr>
<tr><td class="paramname">pool</td><td>the pool from which to allocate the mutex. </td></tr>
</table>
</dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>Check APR_HAS_foo_SERIALIZE defines to see if the platform supports APR_LOCK_foo. Only APR_LOCK_DEFAULT is portable. </dd></dl>
</div>
</div>
<a id="ga1f2cb4a1ec57089db49701e747892607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1f2cb4a1ec57089db49701e747892607">◆ </a></span>apr_global_mutex_destroy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_global_mutex_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroy the mutex and free the memory associated with the lock. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the mutex to destroy. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga1338485664e6c2737340114cace57121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1338485664e6c2737340114cace57121">◆ </a></span>apr_global_mutex_lock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_global_mutex_lock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the mutex on which to acquire the lock. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga0d14b6c80cc39bb76f6a038fff1ef5ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d14b6c80cc39bb76f6a038fff1ef5ad">◆ </a></span>apr_global_mutex_lockfile()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* apr_global_mutex_lockfile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the name of the lockfile for the mutex, or NULL if the mutex doesn't use a lock file </p>
</div>
</div>
<a id="ga812b48b7afac2976a148fd16f4ede2de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga812b48b7afac2976a148fd16f4ede2de">◆ </a></span>apr_global_mutex_mech()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__proc__mutex.html#ga75dd95a48a1e855a87b509b522746ed4">apr_lockmech_e</a> apr_global_mutex_mech </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the mechanism of the mutex, as it relates to the actual method used for the underlying apr_proc_mutex_t. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the mutex to get the mechanism from. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gaf4ec155e8b9c6f30a979bc0aeb3721cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4ec155e8b9c6f30a979bc0aeb3721cb">◆ </a></span>apr_global_mutex_name()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* apr_global_mutex_name </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the mechanism's name of the mutex, as it relates to the actual method used for the underlying apr_proc_mutex_t. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the mutex to get the mechanism's name from. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga01d5c1bbb32b976083b9c8234b04cd46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga01d5c1bbb32b976083b9c8234b04cd46">◆ </a></span>apr_global_mutex_pool_get()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a>* apr_global_mutex_pool_get </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>theglobal_mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the pool used by this global_mutex. </p><dl class="section return"><dt>Returns</dt><dd>apr_pool_t the pool </dd></dl>
</div>
</div>
<a id="ga2a6543fba6473b47e33a7b7fc2ba6935"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2a6543fba6473b47e33a7b7fc2ba6935">◆ </a></span>apr_global_mutex_trylock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_global_mutex_trylock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the <a class="el" href="group___a_p_r___s_t_a_t_u_s___i_s.html#gabb92ad7b6ef304132de70e9e5cbaa896">APR_STATUS_IS_EBUSY(s)</a> macro be used to determine if the return value was APR_EBUSY, for portability reasons. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the mutex on which to attempt the lock acquiring. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga16e732ae76dfe104b157e0fc543d3aa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga16e732ae76dfe104b157e0fc543d3aa3">◆ </a></span>apr_global_mutex_unlock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apr_global_mutex_unlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___a_p_r___global_mutex.html#ga3fc7dc5b076533ee566aa4888ac35ee7">apr_global_mutex_t</a> * </td>
<td class="paramname"><em>mutex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Release the lock for the given mutex. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mutex</td><td>the mutex from which to release the lock. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga09b08568c41cec184cf2f4915ecc04e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga09b08568c41cec184cf2f4915ecc04e9">◆ </a></span>APR_PERMS_SET_IMPLEMENT()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">APR_PERMS_SET_IMPLEMENT </td>
<td>(</td>
<td class="paramtype">global_mutex </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set mutex permissions. </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