D7net Mini Sh3LL v1
Current File : //libx32/../share/fwupd/../doc/dmeventd/../libapr1-dev/html/group__apr__thread__proc.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: Threads and Process Functions</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="#groups">Modules</a> |
<a href="#nested-classes">Data Structures</a> |
<a href="#define-members">Macros</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Threads and Process Functions<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 Threads and Process Functions:</div>
<div class="dyncontent">
<div class="center"><img src="group__apr__thread__proc.png" border="0" usemap="#group____apr____thread____proc" alt=""/></div>
<!-- MAP 0 -->
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group___a_p_r___o_c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___o_c.html">Other Child Flags</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="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__proc__t.html">apr_proc_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:ga689b0f3953cde83a4092931bad8b7183"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga689b0f3953cde83a4092931bad8b7183">APR_PROC_CHECK_EXIT</a>(x)   (x & <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a977f140c82333af62aa4bed8c99a3ee2">APR_PROC_EXIT</a>)</td></tr>
<tr class="separator:ga689b0f3953cde83a4092931bad8b7183"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa0a8a0b8785cc9392059c7accd71f5f6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gaa0a8a0b8785cc9392059c7accd71f5f6">APR_PROC_CHECK_SIGNALED</a>(x)   (x & <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a7e3421d18abe458ca27822d19424225b">APR_PROC_SIGNAL</a>)</td></tr>
<tr class="separator:gaa0a8a0b8785cc9392059c7accd71f5f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2249e96191b5d98d33fb7875bce49410"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga2249e96191b5d98d33fb7875bce49410">APR_PROC_CHECK_CORE_DUMP</a>(x)   (x & <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a6b667be4983cb59e9bed37ee05a0dcce">APR_PROC_SIGNAL_CORE</a>)</td></tr>
<tr class="separator:ga2249e96191b5d98d33fb7875bce49410"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab7cfcb8ed24e6c0a76cd41b5b113ae95"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gab7cfcb8ed24e6c0a76cd41b5b113ae95">APR_NO_PIPE</a>   0</td></tr>
<tr class="separator:gab7cfcb8ed24e6c0a76cd41b5b113ae95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga646af57314e71f4647243f36dd03e5ea"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga646af57314e71f4647243f36dd03e5ea">APR_FULL_BLOCK</a>   1</td></tr>
<tr class="separator:ga646af57314e71f4647243f36dd03e5ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae0707f76da785490830fc3491093767c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gae0707f76da785490830fc3491093767c">APR_FULL_NONBLOCK</a>   2</td></tr>
<tr class="separator:gae0707f76da785490830fc3491093767c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8653bab028b1c2b98754babc2547f988"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga8653bab028b1c2b98754babc2547f988">APR_PARENT_BLOCK</a>   3</td></tr>
<tr class="separator:ga8653bab028b1c2b98754babc2547f988"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacad9da4db7a22f46715e50fb8ec1c939"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gacad9da4db7a22f46715e50fb8ec1c939">APR_CHILD_BLOCK</a>   4</td></tr>
<tr class="separator:gacad9da4db7a22f46715e50fb8ec1c939"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga597fb6a501c20cc3a597fe6c613f4310"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga597fb6a501c20cc3a597fe6c613f4310">APR_NO_FILE</a>   8</td></tr>
<tr class="separator:ga597fb6a501c20cc3a597fe6c613f4310"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga597fb6a501c20cc3a597fe6c613f4310"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga597fb6a501c20cc3a597fe6c613f4310">APR_NO_FILE</a>   8</td></tr>
<tr class="separator:ga597fb6a501c20cc3a597fe6c613f4310"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf8295548cb0821ee02249d6de8336bcb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gaf8295548cb0821ee02249d6de8336bcb">APR_READ_BLOCK</a>   3</td></tr>
<tr class="separator:gaf8295548cb0821ee02249d6de8336bcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga36ff2de9664ad6995bd488b4ac715c9c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga36ff2de9664ad6995bd488b4ac715c9c">APR_WRITE_BLOCK</a>   4</td></tr>
<tr class="separator:ga36ff2de9664ad6995bd488b4ac715c9c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaad8a94c7ac2be58fe035b2fd6efec84f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gaad8a94c7ac2be58fe035b2fd6efec84f">APR_LIMIT_CPU</a>   0</td></tr>
<tr class="separator:gaad8a94c7ac2be58fe035b2fd6efec84f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6dbb01bb357b078acff8fd87e9c494e8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga6dbb01bb357b078acff8fd87e9c494e8">APR_LIMIT_MEM</a>   1</td></tr>
<tr class="separator:ga6dbb01bb357b078acff8fd87e9c494e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga72e9be453a20f4e78bc6d7bd95d7c333"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga72e9be453a20f4e78bc6d7bd95d7c333">APR_LIMIT_NPROC</a>   2</td></tr>
<tr class="separator:ga72e9be453a20f4e78bc6d7bd95d7c333"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga18d73099d66988698a9ad2aebdce2c9f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga18d73099d66988698a9ad2aebdce2c9f">APR_LIMIT_NOFILE</a>   3</td></tr>
<tr class="separator:ga18d73099d66988698a9ad2aebdce2c9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab57b448a464ac299c03d6127781df152"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gab57b448a464ac299c03d6127781df152">APR_PROC_DETACH_FOREGROUND</a>   0</td></tr>
<tr class="separator:gab57b448a464ac299c03d6127781df152"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab4de7134fcc66c4127ae65b68631f846"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gab4de7134fcc66c4127ae65b68631f846">APR_PROC_DETACH_DAEMONIZE</a>   1</td></tr>
<tr class="separator:gab4de7134fcc66c4127ae65b68631f846"><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:ga972db5595d281c34260904e0c2b1fb6b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structapr__proc__t.html">apr_proc_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga972db5595d281c34260904e0c2b1fb6b">apr_proc_t</a></td></tr>
<tr class="separator:ga972db5595d281c34260904e0c2b1fb6b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1feae4cf7ed6f156a0db10172e228e2d"><td class="memItemLeft" align="right" valign="top">typedef void() </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga1feae4cf7ed6f156a0db10172e228e2d">apr_child_errfn_t</a>(<a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *proc, <a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> err, const char *description)</td></tr>
<tr class="separator:ga1feae4cf7ed6f156a0db10172e228e2d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga646c71351e723d84f8cc8c8d1d5937be"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a></td></tr>
<tr class="separator:ga646c71351e723d84f8cc8c8d1d5937be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga35de571e9944871c10b38d8feef885ac"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a></td></tr>
<tr class="separator:ga35de571e9944871c10b38d8feef885ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0d83919a6a0dd609598a864917f8b339"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a></td></tr>
<tr class="separator:ga0d83919a6a0dd609598a864917f8b339"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga91841bcf20d0579e8e6acc6d3c220ac1"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a></td></tr>
<tr class="separator:ga91841bcf20d0579e8e6acc6d3c220ac1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga337c9c1bd2d47740022071a5c41f2edb"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a></td></tr>
<tr class="separator:ga337c9c1bd2d47740022071a5c41f2edb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafc52ee8b19a7b222278d31ebb3f11a71"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__apr__thread__proc.html#gafc52ee8b19a7b222278d31ebb3f11a71">apr_other_child_rec_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gafc52ee8b19a7b222278d31ebb3f11a71">apr_other_child_rec_t</a></td></tr>
<tr class="separator:gafc52ee8b19a7b222278d31ebb3f11a71"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa1f88d2a6fe971ac200e466cae5f63e0"><td class="memItemLeft" align="right" valign="top">typedef void *(<a class="el" href="group__apr__platform.html#gade8f829f9bd98fd4386894acf72edd7c">APR_THREAD_FUNC</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gaa1f88d2a6fe971ac200e466cae5f63e0">apr_thread_start_t</a>) (<a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *, void *)</td></tr>
<tr class="separator:gaa1f88d2a6fe971ac200e466cae5f63e0"><td class="memSeparator" colspan="2"> </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:gadcb981d7748c580eb69ac11dbf709060"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gadcb981d7748c580eb69ac11dbf709060">apr_cmdtype_e</a> { <br />
  <a class="el" href="group__apr__thread__proc.html#ggadcb981d7748c580eb69ac11dbf709060a02f5d83f79e2c12bfca5a86d7f14caa6">APR_SHELLCMD</a>,
<a class="el" href="group__apr__thread__proc.html#ggadcb981d7748c580eb69ac11dbf709060ac128c1239a524cf21300b8ed6248ac99">APR_PROGRAM</a>,
<a class="el" href="group__apr__thread__proc.html#ggadcb981d7748c580eb69ac11dbf709060a6a3f9694aced0e449f6bb4b3e437233a">APR_PROGRAM_ENV</a>,
<a class="el" href="group__apr__thread__proc.html#ggadcb981d7748c580eb69ac11dbf709060aa424b51bdc16e4d18bb757a32c6a346a">APR_PROGRAM_PATH</a>,
<br />
  <a class="el" href="group__apr__thread__proc.html#ggadcb981d7748c580eb69ac11dbf709060afcefc45317b67fad6dc5459772ce9409">APR_SHELLCMD_ENV</a>
<br />
}</td></tr>
<tr class="separator:gadcb981d7748c580eb69ac11dbf709060"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5e52d786644f3b66d6180571e68c7260"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga5e52d786644f3b66d6180571e68c7260">apr_wait_how_e</a> { <a class="el" href="group__apr__thread__proc.html#gga5e52d786644f3b66d6180571e68c7260a057885ccf4b8b707e0d115c691037de4">APR_WAIT</a>,
<a class="el" href="group__apr__thread__proc.html#gga5e52d786644f3b66d6180571e68c7260a0163031f6b72b0c4add9108052a672d5">APR_NOWAIT</a>
}</td></tr>
<tr class="separator:ga5e52d786644f3b66d6180571e68c7260"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac097b4fa41e67024711c5983446d0951"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gac097b4fa41e67024711c5983446d0951">apr_exit_why_e</a> { <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a977f140c82333af62aa4bed8c99a3ee2">APR_PROC_EXIT</a> = 1,
<a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a7e3421d18abe458ca27822d19424225b">APR_PROC_SIGNAL</a> = 2,
<a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a6b667be4983cb59e9bed37ee05a0dcce">APR_PROC_SIGNAL_CORE</a> = 4
}</td></tr>
<tr class="separator:gac097b4fa41e67024711c5983446d0951"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3eaec78633742e7e0cb9480a21477aff"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga3eaec78633742e7e0cb9480a21477aff">apr_kill_conditions_e</a> { <br />
  <a class="el" href="group__apr__thread__proc.html#gga3eaec78633742e7e0cb9480a21477affa33580ab0809e9498855fbdde8a1714ef">APR_KILL_NEVER</a>,
<a class="el" href="group__apr__thread__proc.html#gga3eaec78633742e7e0cb9480a21477affaf45d0f72811399b394d1311384e2dfe4">APR_KILL_ALWAYS</a>,
<a class="el" href="group__apr__thread__proc.html#gga3eaec78633742e7e0cb9480a21477affa16a47aa786b1c1f31ef02353bcae9a1a">APR_KILL_AFTER_TIMEOUT</a>,
<a class="el" href="group__apr__thread__proc.html#gga3eaec78633742e7e0cb9480a21477affa6ada2605856ac94826edbe824e64e503">APR_JUST_WAIT</a>,
<br />
  <a class="el" href="group__apr__thread__proc.html#gga3eaec78633742e7e0cb9480a21477affa24d6f47785093be4cea2a922eeaed098">APR_KILL_ONLY_ONCE</a>
<br />
}</td></tr>
<tr class="separator:ga3eaec78633742e7e0cb9480a21477aff"><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:ga66c2f55e5dff9ac37bd32e9febd38da5"><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__apr__thread__proc.html#ga66c2f55e5dff9ac37bd32e9febd38da5">apr_threadattr_create</a> (<a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> **new_attr, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *cont)</td></tr>
<tr class="separator:ga66c2f55e5dff9ac37bd32e9febd38da5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga85d44b3b021f28116122d5e40e024648"><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__apr__thread__proc.html#ga85d44b3b021f28116122d5e40e024648">apr_threadattr_detach_set</a> (<a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> *attr, apr_int32_t on)</td></tr>
<tr class="separator:ga85d44b3b021f28116122d5e40e024648"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae5b7cdb3de542d1b7b52fe5d9d8cb00b"><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__apr__thread__proc.html#gae5b7cdb3de542d1b7b52fe5d9d8cb00b">apr_threadattr_detach_get</a> (<a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> *attr)</td></tr>
<tr class="separator:gae5b7cdb3de542d1b7b52fe5d9d8cb00b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7849e0d637338a18cb44f66f11f28ed1"><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__apr__thread__proc.html#ga7849e0d637338a18cb44f66f11f28ed1">apr_threadattr_stacksize_set</a> (<a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> *attr, apr_size_t stacksize)</td></tr>
<tr class="separator:ga7849e0d637338a18cb44f66f11f28ed1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2e732f2913291180c0c484f57d727140"><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__apr__thread__proc.html#ga2e732f2913291180c0c484f57d727140">apr_threadattr_guardsize_set</a> (<a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> *attr, apr_size_t guardsize)</td></tr>
<tr class="separator:ga2e732f2913291180c0c484f57d727140"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaeba6593f43f1de94c2b4495dd72b0e9f"><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__apr__thread__proc.html#gaeba6593f43f1de94c2b4495dd72b0e9f">apr_thread_create</a> (<a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> **new_thread, <a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> *attr, <a class="el" href="group__apr__thread__proc.html#gaa1f88d2a6fe971ac200e466cae5f63e0">apr_thread_start_t</a> func, void *data, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *cont)</td></tr>
<tr class="separator:gaeba6593f43f1de94c2b4495dd72b0e9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0e35365e530578bca1b4bea522ac8c85"><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__apr__thread__proc.html#ga0e35365e530578bca1b4bea522ac8c85">apr_thread_exit</a> (<a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thd, <a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> retval)</td></tr>
<tr class="separator:ga0e35365e530578bca1b4bea522ac8c85"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1b950f36fa5bcd5a64887073f46f6d13"><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__apr__thread__proc.html#ga1b950f36fa5bcd5a64887073f46f6d13">apr_thread_join</a> (<a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> *retval, <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thd)</td></tr>
<tr class="separator:ga1b950f36fa5bcd5a64887073f46f6d13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacd69fb862c069cb6f297f65d64b5c102"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gacd69fb862c069cb6f297f65d64b5c102">apr_thread_yield</a> (void)</td></tr>
<tr class="separator:gacd69fb862c069cb6f297f65d64b5c102"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga63f3bf667151053e45d5a2029daeda0d"><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__apr__thread__proc.html#ga63f3bf667151053e45d5a2029daeda0d">apr_thread_once_init</a> (<a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a> **control, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p)</td></tr>
<tr class="separator:ga63f3bf667151053e45d5a2029daeda0d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8f3645ee52ff07566c92181b4ce732d8"><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__apr__thread__proc.html#ga8f3645ee52ff07566c92181b4ce732d8">apr_thread_once</a> (<a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a> *control, void(*func)(void))</td></tr>
<tr class="separator:ga8f3645ee52ff07566c92181b4ce732d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadbd186912d5f6f2a19a175e1e02ba10e"><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__apr__thread__proc.html#gadbd186912d5f6f2a19a175e1e02ba10e">apr_thread_detach</a> (<a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thd)</td></tr>
<tr class="separator:gadbd186912d5f6f2a19a175e1e02ba10e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad799c8140ed068a12f1dbe134423eae7"><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__apr__thread__proc.html#gad799c8140ed068a12f1dbe134423eae7">apr_thread_data_get</a> (void **data, const char *key, <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thread)</td></tr>
<tr class="separator:gad799c8140ed068a12f1dbe134423eae7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa90d79c9935692db4f27a6573f437221"><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__apr__thread__proc.html#gaa90d79c9935692db4f27a6573f437221">apr_thread_data_set</a> (void *data, const char *key, <a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>(*cleanup)(void *), <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thread)</td></tr>
<tr class="separator:gaa90d79c9935692db4f27a6573f437221"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacb9553b2b3165388bfc0a54b1148804a"><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__apr__thread__proc.html#gacb9553b2b3165388bfc0a54b1148804a">apr_threadkey_private_create</a> (<a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> **key, void(*dest)(void *), <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *cont)</td></tr>
<tr class="separator:gacb9553b2b3165388bfc0a54b1148804a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga371c87c122cc3df0b7ad0031f6e11167"><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__apr__thread__proc.html#ga371c87c122cc3df0b7ad0031f6e11167">apr_threadkey_private_get</a> (void **new_mem, <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> *key)</td></tr>
<tr class="separator:ga371c87c122cc3df0b7ad0031f6e11167"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga63501a064ca7f1818aa056b40146aa0b"><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__apr__thread__proc.html#ga63501a064ca7f1818aa056b40146aa0b">apr_threadkey_private_set</a> (void *priv, <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> *key)</td></tr>
<tr class="separator:ga63501a064ca7f1818aa056b40146aa0b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga20b9b79892a6532784fff023a4ebd8cf"><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__apr__thread__proc.html#ga20b9b79892a6532784fff023a4ebd8cf">apr_threadkey_private_delete</a> (<a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> *key)</td></tr>
<tr class="separator:ga20b9b79892a6532784fff023a4ebd8cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae203664972dfc5c555620ae1788f5b48"><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__apr__thread__proc.html#gae203664972dfc5c555620ae1788f5b48">apr_threadkey_data_get</a> (void **data, const char *key, <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> *threadkey)</td></tr>
<tr class="separator:gae203664972dfc5c555620ae1788f5b48"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1059158f34dded87f21ba82af1211951"><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__apr__thread__proc.html#ga1059158f34dded87f21ba82af1211951">apr_threadkey_data_set</a> (void *data, const char *key, <a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>(*cleanup)(void *), <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> *threadkey)</td></tr>
<tr class="separator:ga1059158f34dded87f21ba82af1211951"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga90f8ef684e601c110daad9b63da53cf3"><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__apr__thread__proc.html#ga90f8ef684e601c110daad9b63da53cf3">apr_procattr_create</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> **new_attr, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *cont)</td></tr>
<tr class="separator:ga90f8ef684e601c110daad9b63da53cf3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2b1598bc6f5ab0bfcf2e55096d563c98"><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__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, apr_int32_t in, apr_int32_t out, apr_int32_t err)</td></tr>
<tr class="separator:ga2b1598bc6f5ab0bfcf2e55096d563c98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga24f40119b1aa07dd45a681a44915cb1b"><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__apr__thread__proc.html#ga24f40119b1aa07dd45a681a44915cb1b">apr_procattr_child_in_set</a> (struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *child_in, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *parent_in)</td></tr>
<tr class="separator:ga24f40119b1aa07dd45a681a44915cb1b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabb97e9a49021ab4452ae3f1a281c977f"><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__apr__thread__proc.html#gabb97e9a49021ab4452ae3f1a281c977f">apr_procattr_child_out_set</a> (struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *child_out, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *parent_out)</td></tr>
<tr class="separator:gabb97e9a49021ab4452ae3f1a281c977f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6fad364c6c820e37c0915435cfb3921f"><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__apr__thread__proc.html#ga6fad364c6c820e37c0915435cfb3921f">apr_procattr_child_err_set</a> (struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *child_err, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *parent_err)</td></tr>
<tr class="separator:ga6fad364c6c820e37c0915435cfb3921f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga97766f50b0ae083a2f8a28e698a59baa"><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__apr__thread__proc.html#ga97766f50b0ae083a2f8a28e698a59baa">apr_procattr_dir_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, const char *dir)</td></tr>
<tr class="separator:ga97766f50b0ae083a2f8a28e698a59baa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1426acc5bdd96385769e7b42bfa6ebbd"><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__apr__thread__proc.html#ga1426acc5bdd96385769e7b42bfa6ebbd">apr_procattr_cmdtype_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__thread__proc.html#gadcb981d7748c580eb69ac11dbf709060">apr_cmdtype_e</a> cmd)</td></tr>
<tr class="separator:ga1426acc5bdd96385769e7b42bfa6ebbd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3ccca55041f648f00f0605673d4e0fdc"><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__apr__thread__proc.html#ga3ccca55041f648f00f0605673d4e0fdc">apr_procattr_detach_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, apr_int32_t detach)</td></tr>
<tr class="separator:ga3ccca55041f648f00f0605673d4e0fdc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa39deba0837e0772754ad41589b733cf"><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__apr__thread__proc.html#gaa39deba0837e0772754ad41589b733cf">apr_procattr_child_errfn_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__thread__proc.html#ga1feae4cf7ed6f156a0db10172e228e2d">apr_child_errfn_t</a> *errfn)</td></tr>
<tr class="separator:gaa39deba0837e0772754ad41589b733cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga24076f050e9385af09ad8c3931d8dc43"><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__apr__thread__proc.html#ga24076f050e9385af09ad8c3931d8dc43">apr_procattr_error_check_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, apr_int32_t chk)</td></tr>
<tr class="separator:ga24076f050e9385af09ad8c3931d8dc43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0f1dd02408995767efcb9c0d9c775620"><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__apr__thread__proc.html#ga0f1dd02408995767efcb9c0d9c775620">apr_procattr_addrspace_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, apr_int32_t addrspace)</td></tr>
<tr class="separator:ga0f1dd02408995767efcb9c0d9c775620"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga741ed3dc047b935b091a21528c49bb19"><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__apr__thread__proc.html#ga741ed3dc047b935b091a21528c49bb19">apr_procattr_user_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, const char *username, const char *password)</td></tr>
<tr class="separator:ga741ed3dc047b935b091a21528c49bb19"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga391f0d3831a5894ea2118762789a395d"><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__apr__thread__proc.html#ga391f0d3831a5894ea2118762789a395d">apr_procattr_group_set</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, const char *groupname)</td></tr>
<tr class="separator:ga391f0d3831a5894ea2118762789a395d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad7fc1ca525d7a571cddd0aa9f0078d0c"><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__apr__thread__proc.html#gad7fc1ca525d7a571cddd0aa9f0078d0c">apr_procattr_perms_set_register</a> (<a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__perms__set.html#gae240e592581cd75c82125ca7b8ce70a5">apr_perms_setfn_t</a> *perms_set_fn, void *data, <a class="el" href="group__apr__file__info.html#ga3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perms)</td></tr>
<tr class="separator:gad7fc1ca525d7a571cddd0aa9f0078d0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab51dd90b98d365a969f0ec5c7bef4e14"><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__apr__thread__proc.html#gab51dd90b98d365a969f0ec5c7bef4e14">apr_proc_create</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *new_proc, const char *progname, const char *const *args, const char *const *env, <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> *attr, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
<tr class="separator:gab51dd90b98d365a969f0ec5c7bef4e14"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0936f7a7fe7e2d5e08979c9f343a5a1b"><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__apr__thread__proc.html#ga0936f7a7fe7e2d5e08979c9f343a5a1b">apr_proc_wait</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc, int *exitcode, <a class="el" href="group__apr__thread__proc.html#gac097b4fa41e67024711c5983446d0951">apr_exit_why_e</a> *exitwhy, <a class="el" href="group__apr__thread__proc.html#ga5e52d786644f3b66d6180571e68c7260">apr_wait_how_e</a> waithow)</td></tr>
<tr class="separator:ga0936f7a7fe7e2d5e08979c9f343a5a1b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga506183074e8413c3ff597539e4768ea4"><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__apr__thread__proc.html#ga506183074e8413c3ff597539e4768ea4">apr_proc_wait_all_procs</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc, int *exitcode, <a class="el" href="group__apr__thread__proc.html#gac097b4fa41e67024711c5983446d0951">apr_exit_why_e</a> *exitwhy, <a class="el" href="group__apr__thread__proc.html#ga5e52d786644f3b66d6180571e68c7260">apr_wait_how_e</a> waithow, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p)</td></tr>
<tr class="separator:ga506183074e8413c3ff597539e4768ea4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga56c2b005792752b63d804f2021596406"><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__apr__thread__proc.html#ga56c2b005792752b63d804f2021596406">apr_proc_detach</a> (int daemonize)</td></tr>
<tr class="separator:ga56c2b005792752b63d804f2021596406"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf8d2be452a819161aa4cd6205a17761e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gaf8d2be452a819161aa4cd6205a17761e">apr_proc_other_child_register</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc, void(*maintenance)(int reason, void *, int status), void *data, <a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *write_fd, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p)</td></tr>
<tr class="separator:gaf8d2be452a819161aa4cd6205a17761e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga10b1a4b224566c03c97f100ac8a2c830"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga10b1a4b224566c03c97f100ac8a2c830">apr_proc_other_child_unregister</a> (void *data)</td></tr>
<tr class="separator:ga10b1a4b224566c03c97f100ac8a2c830"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga88701979c4e5ac4b94966c73e0159efd"><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__apr__thread__proc.html#ga88701979c4e5ac4b94966c73e0159efd">apr_proc_other_child_alert</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc, int reason, int status)</td></tr>
<tr class="separator:ga88701979c4e5ac4b94966c73e0159efd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga74a905d90a3476a611adeeb304931a6c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#ga74a905d90a3476a611adeeb304931a6c">apr_proc_other_child_refresh</a> (<a class="el" href="group__apr__thread__proc.html#gafc52ee8b19a7b222278d31ebb3f11a71">apr_other_child_rec_t</a> *ocr, int reason)</td></tr>
<tr class="separator:ga74a905d90a3476a611adeeb304931a6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacff5e867a92619d30c4e78f9ad2a58e3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gacff5e867a92619d30c4e78f9ad2a58e3">apr_proc_other_child_refresh_all</a> (int reason)</td></tr>
<tr class="separator:gacff5e867a92619d30c4e78f9ad2a58e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga4a5ff2fce2c68460281b0cb3ee0365d5"><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__apr__thread__proc.html#ga4a5ff2fce2c68460281b0cb3ee0365d5">apr_proc_kill</a> (<a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc, int sig)</td></tr>
<tr class="separator:ga4a5ff2fce2c68460281b0cb3ee0365d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacbe3fd9491fa35149de28cebcae22f87"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__thread__proc.html#gacbe3fd9491fa35149de28cebcae22f87">apr_pool_note_subprocess</a> (<a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *a, <a class="el" href="structapr__proc__t.html">apr_proc_t</a> *proc, <a class="el" href="group__apr__thread__proc.html#ga3eaec78633742e7e0cb9480a21477aff">apr_kill_conditions_e</a> how)</td></tr>
<tr class="separator:gacbe3fd9491fa35149de28cebcae22f87"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga089b70ae9d6c64d2675a1fd1e9cd0d0d"><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__apr__thread__proc.html#ga089b70ae9d6c64d2675a1fd1e9cd0d0d">apr_thread_pool_get</a> (const <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thethread)</td></tr>
<tr class="separator:ga089b70ae9d6c64d2675a1fd1e9cd0d0d"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gacad9da4db7a22f46715e50fb8ec1c939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacad9da4db7a22f46715e50fb8ec1c939">◆ </a></span>APR_CHILD_BLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_CHILD_BLOCK   4</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> </dd></dl>
</div>
</div>
<a id="ga646af57314e71f4647243f36dd03e5ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga646af57314e71f4647243f36dd03e5ea">◆ </a></span>APR_FULL_BLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_FULL_BLOCK   1</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> and <a class="el" href="group__apr__file__io.html#ga2fbbae715bee0e0ca9adadd66ac65e96">apr_file_pipe_create_ex</a> </dd></dl>
</div>
</div>
<a id="gae0707f76da785490830fc3491093767c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0707f76da785490830fc3491093767c">◆ </a></span>APR_FULL_NONBLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_FULL_NONBLOCK   2</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> and <a class="el" href="group__apr__file__io.html#ga2fbbae715bee0e0ca9adadd66ac65e96">apr_file_pipe_create_ex</a> </dd></dl>
</div>
</div>
<a id="gaad8a94c7ac2be58fe035b2fd6efec84f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaad8a94c7ac2be58fe035b2fd6efec84f">◆ </a></span>APR_LIMIT_CPU</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_LIMIT_CPU   0</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd>apr_procattr_limit_set </dd></dl>
</div>
</div>
<a id="ga6dbb01bb357b078acff8fd87e9c494e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6dbb01bb357b078acff8fd87e9c494e8">◆ </a></span>APR_LIMIT_MEM</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_LIMIT_MEM   1</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd>apr_procattr_limit_set </dd></dl>
</div>
</div>
<a id="ga18d73099d66988698a9ad2aebdce2c9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18d73099d66988698a9ad2aebdce2c9f">◆ </a></span>APR_LIMIT_NOFILE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_LIMIT_NOFILE   3</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd>apr_procattr_limit_set </dd></dl>
</div>
</div>
<a id="ga72e9be453a20f4e78bc6d7bd95d7c333"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72e9be453a20f4e78bc6d7bd95d7c333">◆ </a></span>APR_LIMIT_NPROC</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_LIMIT_NPROC   2</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd>apr_procattr_limit_set </dd></dl>
</div>
</div>
<a id="ga597fb6a501c20cc3a597fe6c613f4310"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga597fb6a501c20cc3a597fe6c613f4310">◆ </a></span>APR_NO_FILE <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_NO_FILE   8</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a></dd>
<dd>
<a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Win32 only effective with version 1.2.12, portably introduced in 1.3.0 </dd></dl>
</div>
</div>
<a id="ga597fb6a501c20cc3a597fe6c613f4310"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga597fb6a501c20cc3a597fe6c613f4310">◆ </a></span>APR_NO_FILE <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_NO_FILE   8</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a></dd>
<dd>
<a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Win32 only effective with version 1.2.12, portably introduced in 1.3.0 </dd></dl>
</div>
</div>
<a id="gab7cfcb8ed24e6c0a76cd41b5b113ae95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab7cfcb8ed24e6c0a76cd41b5b113ae95">◆ </a></span>APR_NO_PIPE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_NO_PIPE   0</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> </dd></dl>
</div>
</div>
<a id="ga8653bab028b1c2b98754babc2547f988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8653bab028b1c2b98754babc2547f988">◆ </a></span>APR_PARENT_BLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_PARENT_BLOCK   3</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> </dd></dl>
</div>
</div>
<a id="ga2249e96191b5d98d33fb7875bce49410"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2249e96191b5d98d33fb7875bce49410">◆ </a></span>APR_PROC_CHECK_CORE_DUMP</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_PROC_CHECK_CORE_DUMP</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">x</td><td>)</td>
<td>   (x & <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a6b667be4983cb59e9bed37ee05a0dcce">APR_PROC_SIGNAL_CORE</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>did we get core </p>
</div>
</div>
<a id="ga689b0f3953cde83a4092931bad8b7183"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga689b0f3953cde83a4092931bad8b7183">◆ </a></span>APR_PROC_CHECK_EXIT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_PROC_CHECK_EXIT</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">x</td><td>)</td>
<td>   (x & <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a977f140c82333af62aa4bed8c99a3ee2">APR_PROC_EXIT</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>did we exit the process </p>
</div>
</div>
<a id="gaa0a8a0b8785cc9392059c7accd71f5f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa0a8a0b8785cc9392059c7accd71f5f6">◆ </a></span>APR_PROC_CHECK_SIGNALED</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_PROC_CHECK_SIGNALED</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">x</td><td>)</td>
<td>   (x & <a class="el" href="group__apr__thread__proc.html#ggac097b4fa41e67024711c5983446d0951a7e3421d18abe458ca27822d19424225b">APR_PROC_SIGNAL</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>did we get a signal </p>
</div>
</div>
<a id="gab4de7134fcc66c4127ae65b68631f846"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4de7134fcc66c4127ae65b68631f846">◆ </a></span>APR_PROC_DETACH_DAEMONIZE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_PROC_DETACH_DAEMONIZE   1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Detach </p>
</div>
</div>
<a id="gab57b448a464ac299c03d6127781df152"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab57b448a464ac299c03d6127781df152">◆ </a></span>APR_PROC_DETACH_FOREGROUND</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_PROC_DETACH_FOREGROUND   0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Do not detach </p>
</div>
</div>
<a id="gaf8295548cb0821ee02249d6de8336bcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8295548cb0821ee02249d6de8336bcb">◆ </a></span>APR_READ_BLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_READ_BLOCK   3</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__file__io.html#ga2fbbae715bee0e0ca9adadd66ac65e96">apr_file_pipe_create_ex</a> </dd></dl>
</div>
</div>
<a id="ga36ff2de9664ad6995bd488b4ac715c9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36ff2de9664ad6995bd488b4ac715c9c">◆ </a></span>APR_WRITE_BLOCK</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_WRITE_BLOCK   4</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__file__io.html#ga2fbbae715bee0e0ca9adadd66ac65e96">apr_file_pipe_create_ex</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga1feae4cf7ed6f156a0db10172e228e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1feae4cf7ed6f156a0db10172e228e2d">◆ </a></span>apr_child_errfn_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef void() apr_child_errfn_t(<a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *proc, <a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> err, const char *description)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The prototype for APR child errfn functions. (See the description of <a class="el" href="group__apr__thread__proc.html#gaa39deba0837e0772754ad41589b733cf">apr_procattr_child_errfn_set()</a> for more information.) It is passed the following parameters: </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pool</td><td>Pool associated with the <a class="el" href="structapr__proc__t.html">apr_proc_t</a>. If your child error function needs user data, associate it with this pool. </td></tr>
<tr><td class="paramname">err</td><td>APR error code describing the error </td></tr>
<tr><td class="paramname">description</td><td>Text description of type of processing which failed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gafc52ee8b19a7b222278d31ebb3f11a71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc52ee8b19a7b222278d31ebb3f11a71">◆ </a></span>apr_other_child_rec_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__apr__thread__proc.html#gafc52ee8b19a7b222278d31ebb3f11a71">apr_other_child_rec_t</a> <a class="el" href="group__apr__thread__proc.html#gafc52ee8b19a7b222278d31ebb3f11a71">apr_other_child_rec_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque record of child process. </p>
</div>
</div>
<a id="ga972db5595d281c34260904e0c2b1fb6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga972db5595d281c34260904e0c2b1fb6b">◆ </a></span>apr_proc_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structapr__proc__t.html">apr_proc_t</a> <a class="el" href="structapr__proc__t.html">apr_proc_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The APR process type </p>
</div>
</div>
<a id="ga0d83919a6a0dd609598a864917f8b339"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d83919a6a0dd609598a864917f8b339">◆ </a></span>apr_procattr_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque Process attributes structure. </p>
</div>
</div>
<a id="ga91841bcf20d0579e8e6acc6d3c220ac1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91841bcf20d0579e8e6acc6d3c220ac1">◆ </a></span>apr_thread_once_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a> <a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque control variable for one-time atomic variables. <br />
</p>
</div>
</div>
<a id="gaa1f88d2a6fe971ac200e466cae5f63e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa1f88d2a6fe971ac200e466cae5f63e0">◆ </a></span>apr_thread_start_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef void*(<a class="el" href="group__apr__platform.html#gade8f829f9bd98fd4386894acf72edd7c">APR_THREAD_FUNC</a> * apr_thread_start_t) (<a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *, void *)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The prototype for any APR thread worker functions. </p>
</div>
</div>
<a id="ga646c71351e723d84f8cc8c8d1d5937be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga646c71351e723d84f8cc8c8d1d5937be">◆ </a></span>apr_thread_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque Thread structure. </p>
</div>
</div>
<a id="ga35de571e9944871c10b38d8feef885ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga35de571e9944871c10b38d8feef885ac">◆ </a></span>apr_threadattr_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> <a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque Thread attributes structure. </p>
</div>
</div>
<a id="ga337c9c1bd2d47740022071a5c41f2edb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga337c9c1bd2d47740022071a5c41f2edb">◆ </a></span>apr_threadkey_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Opaque thread private address space. </p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gadcb981d7748c580eb69ac11dbf709060"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadcb981d7748c580eb69ac11dbf709060">◆ </a></span>apr_cmdtype_e</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__apr__thread__proc.html#gadcb981d7748c580eb69ac11dbf709060">apr_cmdtype_e</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggadcb981d7748c580eb69ac11dbf709060a02f5d83f79e2c12bfca5a86d7f14caa6"></a>APR_SHELLCMD </td><td class="fielddoc"><p>use the shell to invoke the program </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadcb981d7748c580eb69ac11dbf709060ac128c1239a524cf21300b8ed6248ac99"></a>APR_PROGRAM </td><td class="fielddoc"><p>invoke the program directly, no copied env </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadcb981d7748c580eb69ac11dbf709060a6a3f9694aced0e449f6bb4b3e437233a"></a>APR_PROGRAM_ENV </td><td class="fielddoc"><p>invoke the program, replicating our environment </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadcb981d7748c580eb69ac11dbf709060aa424b51bdc16e4d18bb757a32c6a346a"></a>APR_PROGRAM_PATH </td><td class="fielddoc"><p>find program on PATH, use our environment </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadcb981d7748c580eb69ac11dbf709060afcefc45317b67fad6dc5459772ce9409"></a>APR_SHELLCMD_ENV </td><td class="fielddoc"><p>use the shell to invoke the program, replicating our environment </p>
</td></tr>
</table>
</div>
</div>
<a id="gac097b4fa41e67024711c5983446d0951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac097b4fa41e67024711c5983446d0951">◆ </a></span>apr_exit_why_e</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__apr__thread__proc.html#gac097b4fa41e67024711c5983446d0951">apr_exit_why_e</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggac097b4fa41e67024711c5983446d0951a977f140c82333af62aa4bed8c99a3ee2"></a>APR_PROC_EXIT </td><td class="fielddoc"><p>process exited normally </p>
</td></tr>
<tr><td class="fieldname"><a id="ggac097b4fa41e67024711c5983446d0951a7e3421d18abe458ca27822d19424225b"></a>APR_PROC_SIGNAL </td><td class="fielddoc"><p>process exited due to a signal </p>
</td></tr>
<tr><td class="fieldname"><a id="ggac097b4fa41e67024711c5983446d0951a6b667be4983cb59e9bed37ee05a0dcce"></a>APR_PROC_SIGNAL_CORE </td><td class="fielddoc"><p>process exited and dumped a core file </p>
</td></tr>
</table>
</div>
</div>
<a id="ga3eaec78633742e7e0cb9480a21477aff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3eaec78633742e7e0cb9480a21477aff">◆ </a></span>apr_kill_conditions_e</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__apr__thread__proc.html#ga3eaec78633742e7e0cb9480a21477aff">apr_kill_conditions_e</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga3eaec78633742e7e0cb9480a21477affa33580ab0809e9498855fbdde8a1714ef"></a>APR_KILL_NEVER </td><td class="fielddoc"><p>process is never killed (i.e., never sent any signals), but it will be reaped if it exits before the pool is cleaned up </p>
</td></tr>
<tr><td class="fieldname"><a id="gga3eaec78633742e7e0cb9480a21477affaf45d0f72811399b394d1311384e2dfe4"></a>APR_KILL_ALWAYS </td><td class="fielddoc"><p>process is sent SIGKILL on apr_pool_t cleanup </p>
</td></tr>
<tr><td class="fieldname"><a id="gga3eaec78633742e7e0cb9480a21477affa16a47aa786b1c1f31ef02353bcae9a1a"></a>APR_KILL_AFTER_TIMEOUT </td><td class="fielddoc"><p>SIGTERM, wait 3 seconds, SIGKILL </p>
</td></tr>
<tr><td class="fieldname"><a id="gga3eaec78633742e7e0cb9480a21477affa6ada2605856ac94826edbe824e64e503"></a>APR_JUST_WAIT </td><td class="fielddoc"><p>wait forever for the process to complete </p>
</td></tr>
<tr><td class="fieldname"><a id="gga3eaec78633742e7e0cb9480a21477affa24d6f47785093be4cea2a922eeaed098"></a>APR_KILL_ONLY_ONCE </td><td class="fielddoc"><p>send SIGTERM and then wait </p>
</td></tr>
</table>
</div>
</div>
<a id="ga5e52d786644f3b66d6180571e68c7260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e52d786644f3b66d6180571e68c7260">◆ </a></span>apr_wait_how_e</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__apr__thread__proc.html#ga5e52d786644f3b66d6180571e68c7260">apr_wait_how_e</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga5e52d786644f3b66d6180571e68c7260a057885ccf4b8b707e0d115c691037de4"></a>APR_WAIT </td><td class="fielddoc"><p>wait for the specified process to finish </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5e52d786644f3b66d6180571e68c7260a0163031f6b72b0c4add9108052a672d5"></a>APR_NOWAIT </td><td class="fielddoc"><p>do not wait – just see if it has finished </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gacbe3fd9491fa35149de28cebcae22f87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacbe3fd9491fa35149de28cebcae22f87">◆ </a></span>apr_pool_note_subprocess()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apr_pool_note_subprocess </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga3eaec78633742e7e0cb9480a21477aff">apr_kill_conditions_e</a> </td>
<td class="paramname"><em>how</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Register a process to be killed when a pool dies. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">a</td><td>The pool to use to define the processes lifetime </td></tr>
<tr><td class="paramname">proc</td><td>The process to register </td></tr>
<tr><td class="paramname">how</td><td>How to kill the process, one of: <pre>
APR_KILL_NEVER -- process is never sent any signals
APR_KILL_ALWAYS -- process is sent SIGKILL on apr_pool_t cleanup
APR_KILL_AFTER_TIMEOUT -- SIGTERM, wait 3 seconds, SIGKILL
APR_JUST_WAIT -- wait forever for the process to complete
APR_KILL_ONLY_ONCE -- send SIGTERM and then wait
</pre> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gab51dd90b98d365a969f0ec5c7bef4e14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab51dd90b98d365a969f0ec5c7bef4e14">◆ </a></span>apr_proc_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_proc_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>new_proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>progname</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *const * </td>
<td class="paramname"><em>args</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *const * </td>
<td class="paramname"><em>env</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</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 a new process and execute a new program within that process. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">new_proc</td><td>The resulting process handle. </td></tr>
<tr><td class="paramname">progname</td><td>The program to run </td></tr>
<tr><td class="paramname">args</td><td>the arguments to pass to the new program. The first one should be the program name. </td></tr>
<tr><td class="paramname">env</td><td>The new environment table for the new process. This should be a list of NULL-terminated strings. This argument is ignored for APR_PROGRAM_ENV, APR_PROGRAM_PATH, and APR_SHELLCMD_ENV types of commands. </td></tr>
<tr><td class="paramname">attr</td><td>the procattr we should use to determine how to create the new process </td></tr>
<tr><td class="paramname">pool</td><td>The pool to use. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function returns without waiting for the new process to terminate; use apr_proc_wait for that. </dd></dl>
</div>
</div>
<a id="ga56c2b005792752b63d804f2021596406"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56c2b005792752b63d804f2021596406">◆ </a></span>apr_proc_detach()</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_proc_detach </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>daemonize</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Detach the process from the controlling terminal. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">daemonize</td><td>set to non-zero if the process should daemonize and become a background process, else it will stay in the foreground. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga4a5ff2fce2c68460281b0cb3ee0365d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a5ff2fce2c68460281b0cb3ee0365d5">◆ </a></span>apr_proc_kill()</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_proc_kill </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>sig</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Terminate a process. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">proc</td><td>The process to terminate. </td></tr>
<tr><td class="paramname">sig</td><td>How to kill the process. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga88701979c4e5ac4b94966c73e0159efd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga88701979c4e5ac4b94966c73e0159efd">◆ </a></span>apr_proc_other_child_alert()</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_proc_other_child_alert </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>reason</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Notify the maintenance callback of a registered other child process that application has detected an event, such as death. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">proc</td><td>The process to check </td></tr>
<tr><td class="paramname">reason</td><td>The reason code to pass to the maintenance function </td></tr>
<tr><td class="paramname">status</td><td>The status to pass to the maintenance function </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>An example of code using this behavior; <pre>
rv = apr_proc_wait_all_procs(&proc, &exitcode, &status, APR_WAIT, p);
if (<a class="el" href="group___a_p_r___s_t_a_t_u_s___i_s.html#ga1e6539dfa172cef4026105ca33b2b208">APR_STATUS_IS_CHILD_DONE(rv)</a>) {
#if APR_HAS_OTHER_CHILD
if (apr_proc_other_child_alert(&proc, APR_OC_REASON_DEATH, status)
== APR_SUCCESS) {
; (already handled)
}
else
#endif
[... handling non-otherchild processes death ...]
</pre> </dd></dl>
</div>
</div>
<a id="ga74a905d90a3476a611adeeb304931a6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74a905d90a3476a611adeeb304931a6c">◆ </a></span>apr_proc_other_child_refresh()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apr_proc_other_child_refresh </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#gafc52ee8b19a7b222278d31ebb3f11a71">apr_other_child_rec_t</a> * </td>
<td class="paramname"><em>ocr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>reason</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Test one specific other child processes and invoke the maintenance callback with the appropriate reason code, if still running, or the appropriate reason code if the process is no longer healthy. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ocr</td><td>The registered other child </td></tr>
<tr><td class="paramname">reason</td><td>The reason code (e.g. APR_OC_REASON_RESTART) if still running </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gacff5e867a92619d30c4e78f9ad2a58e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacff5e867a92619d30c4e78f9ad2a58e3">◆ </a></span>apr_proc_other_child_refresh_all()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apr_proc_other_child_refresh_all </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>reason</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Test all registered other child processes and invoke the maintenance callback with the appropriate reason code, if still running, or the appropriate reason code if the process is no longer healthy. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">reason</td><td>The reason code (e.g. APR_OC_REASON_RESTART) to running processes </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gaf8d2be452a819161aa4cd6205a17761e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8d2be452a819161aa4cd6205a17761e">◆ </a></span>apr_proc_other_child_register()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apr_proc_other_child_register </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void(*)(int reason, void *, int status) </td>
<td class="paramname"><em>maintenance</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>write_fd</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>p</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Register an other_child – a child associated to its registered maintence callback. This callback is invoked when the process dies, is disconnected or disappears. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">proc</td><td>The child process to register. </td></tr>
<tr><td class="paramname">maintenance</td><td>maintenance is a function that is invoked with a reason and the data pointer passed here. </td></tr>
<tr><td class="paramname">data</td><td>Opaque context data passed to the maintenance function. </td></tr>
<tr><td class="paramname">write_fd</td><td>An fd that is probed for writing. If it is ever unwritable then the maintenance is invoked with reason OC_REASON_UNWRITABLE. </td></tr>
<tr><td class="paramname">p</td><td>The pool to use for allocating memory. </td></tr>
</table>
</dd>
</dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000010">Bug:</a></b></dt><dd><p class="startdd">write_fd duplicates the proc->out stream, it's really redundant and should be replaced in the APR 1.0 API with a bitflag of which proc->in/out/err handles should be health checked. </p>
<p class="enddd">no platform currently tests the pipes health. </p>
</dd></dl>
</div>
</div>
<a id="ga10b1a4b224566c03c97f100ac8a2c830"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga10b1a4b224566c03c97f100ac8a2c830">◆ </a></span>apr_proc_other_child_unregister()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apr_proc_other_child_unregister </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Stop watching the specified other child. <br />
</p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The data to pass to the maintenance function. This is used to find the process to unregister. </td></tr>
</table>
</dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>Since this can be called by a maintenance function while we're scanning the other_children list, all scanners should protect themself by loading ocr->next before calling any maintenance function. </dd></dl>
</div>
</div>
<a id="ga0936f7a7fe7e2d5e08979c9f343a5a1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0936f7a7fe7e2d5e08979c9f343a5a1b">◆ </a></span>apr_proc_wait()</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_proc_wait </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>exitcode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#gac097b4fa41e67024711c5983446d0951">apr_exit_why_e</a> * </td>
<td class="paramname"><em>exitwhy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga5e52d786644f3b66d6180571e68c7260">apr_wait_how_e</a> </td>
<td class="paramname"><em>waithow</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Wait for a child process to die </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">proc</td><td>The process handle that corresponds to the desired child process </td></tr>
<tr><td class="paramname">exitcode</td><td>The returned exit status of the child, if a child process dies, or the signal that caused the child to die. On platforms that don't support obtaining this information, the status parameter will be returned as APR_ENOTIMPL. </td></tr>
<tr><td class="paramname">exitwhy</td><td>Why the child died, the bitwise or of: <pre>
APR_PROC_EXIT -- process terminated normally
APR_PROC_SIGNAL -- process was killed by a signal
APR_PROC_SIGNAL_CORE -- process was killed by a signal, and
generated a core dump.
</pre> </td></tr>
<tr><td class="paramname">waithow</td><td>How should we wait. One of: <pre>
APR_WAIT -- block until the child process dies.
APR_NOWAIT -- return immediately regardless of if the
child is dead or not.
</pre> </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>The child's status is in the return code to this process. It is one of: <pre>
APR_CHILD_DONE -- child is no longer running.
APR_CHILD_NOTDONE -- child is still running.
</pre> </dd></dl>
</div>
</div>
<a id="ga506183074e8413c3ff597539e4768ea4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga506183074e8413c3ff597539e4768ea4">◆ </a></span>apr_proc_wait_all_procs()</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_proc_wait_all_procs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structapr__proc__t.html">apr_proc_t</a> * </td>
<td class="paramname"><em>proc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>exitcode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#gac097b4fa41e67024711c5983446d0951">apr_exit_why_e</a> * </td>
<td class="paramname"><em>exitwhy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga5e52d786644f3b66d6180571e68c7260">apr_wait_how_e</a> </td>
<td class="paramname"><em>waithow</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>p</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Wait for any current child process to die and return information about that child. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">proc</td><td>Pointer to NULL on entry, will be filled out with child's information </td></tr>
<tr><td class="paramname">exitcode</td><td>The returned exit status of the child, if a child process dies, or the signal that caused the child to die. On platforms that don't support obtaining this information, the status parameter will be returned as APR_ENOTIMPL. </td></tr>
<tr><td class="paramname">exitwhy</td><td>Why the child died, the bitwise or of: <pre>
APR_PROC_EXIT -- process terminated normally
APR_PROC_SIGNAL -- process was killed by a signal
APR_PROC_SIGNAL_CORE -- process was killed by a signal, and
generated a core dump.
</pre> </td></tr>
<tr><td class="paramname">waithow</td><td>How should we wait. One of: <pre>
APR_WAIT -- block until the child process dies.
APR_NOWAIT -- return immediately regardless of if the
child is dead or not.
</pre> </td></tr>
<tr><td class="paramname">p</td><td>Pool to allocate child information out of. </td></tr>
</table>
</dd>
</dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000009">Bug:</a></b></dt><dd>Passing proc as a *proc rather than **proc was an odd choice for some platforms... this should be revisited in 1.0 </dd></dl>
</div>
</div>
<a id="ga0f1dd02408995767efcb9c0d9c775620"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f1dd02408995767efcb9c0d9c775620">◆ </a></span>apr_procattr_addrspace_set()</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_procattr_addrspace_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>addrspace</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Determine if the child should start in its own address space or using the current one from its parent </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">addrspace</td><td>Should the child start in its own address space? Default is no on NetWare and yes on other platforms. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga6fad364c6c820e37c0915435cfb3921f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6fad364c6c820e37c0915435cfb3921f">◆ </a></span>apr_procattr_child_err_set()</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_procattr_child_err_set </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>child_err</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>parent_err</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the child_err and parent_err values to existing apr_file_t values. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">child_err</td><td>apr_file_t value to use as child_err. Must be a valid file. </td></tr>
<tr><td class="paramname">parent_err</td><td>apr_file_t value to use as parent_err. Must be a valid file. </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This is NOT a required initializer function. This is useful if you have already opened a pipe (or multiple files) that you wish to use, perhaps persistently across multiple process invocations - such as a log file. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000008">Bug:</a></b></dt><dd>Note that calling this function with two NULL files on some platforms creates an APR_FULL_BLOCK pipe, but this behavior is neither portable nor is it supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> instead for simple pipes. </dd></dl>
</div>
</div>
<a id="gaa39deba0837e0772754ad41589b733cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa39deba0837e0772754ad41589b733cf">◆ </a></span>apr_procattr_child_errfn_set()</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_procattr_child_errfn_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga1feae4cf7ed6f156a0db10172e228e2d">apr_child_errfn_t</a> * </td>
<td class="paramname"><em>errfn</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Specify an error function to be called in the child process if APR encounters an error in the child prior to running the specified program. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr describing the child process to be created. </td></tr>
<tr><td class="paramname">errfn</td><td>The function to call in the child process. </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>At the present time, it will only be called from <a class="el" href="group__apr__thread__proc.html#gab51dd90b98d365a969f0ec5c7bef4e14">apr_proc_create()</a> on platforms where fork() is used. It will never be called on other platforms, on those platforms <a class="el" href="group__apr__thread__proc.html#gab51dd90b98d365a969f0ec5c7bef4e14">apr_proc_create()</a> will return the error in the parent process rather than invoke the callback in the now-forked child process. </dd></dl>
</div>
</div>
<a id="ga24f40119b1aa07dd45a681a44915cb1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24f40119b1aa07dd45a681a44915cb1b">◆ </a></span>apr_procattr_child_in_set()</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_procattr_child_in_set </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>child_in</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>parent_in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the child_in and/or parent_in values to existing apr_file_t values. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">child_in</td><td>apr_file_t value to use as child_in. Must be a valid file. </td></tr>
<tr><td class="paramname">parent_in</td><td>apr_file_t value to use as parent_in. Must be a valid file. </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This is NOT a required initializer function. This is useful if you have already opened a pipe (or multiple files) that you wish to use, perhaps persistently across multiple process invocations - such as a log file. You can save some extra function calls by not creating your own pipe since this creates one in the process space for you. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000006">Bug:</a></b></dt><dd>Note that calling this function with two NULL files on some platforms creates an APR_FULL_BLOCK pipe, but this behavior is neither portable nor is it supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> instead for simple pipes. </dd></dl>
</div>
</div>
<a id="gabb97e9a49021ab4452ae3f1a281c977f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb97e9a49021ab4452ae3f1a281c977f">◆ </a></span>apr_procattr_child_out_set()</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_procattr_child_out_set </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>child_out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__io.html#gaa46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> * </td>
<td class="paramname"><em>parent_out</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the child_out and parent_out values to existing apr_file_t values. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">child_out</td><td>apr_file_t value to use as child_out. Must be a valid file. </td></tr>
<tr><td class="paramname">parent_out</td><td>apr_file_t value to use as parent_out. Must be a valid file. </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This is NOT a required initializer function. This is useful if you have already opened a pipe (or multiple files) that you wish to use, perhaps persistently across multiple process invocations - such as a log file. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000007">Bug:</a></b></dt><dd>Note that calling this function with two NULL files on some platforms creates an APR_FULL_BLOCK pipe, but this behavior is neither portable nor is it supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__apr__thread__proc.html#ga2b1598bc6f5ab0bfcf2e55096d563c98">apr_procattr_io_set</a> instead for simple pipes. </dd></dl>
</div>
</div>
<a id="ga1426acc5bdd96385769e7b42bfa6ebbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1426acc5bdd96385769e7b42bfa6ebbd">◆ </a></span>apr_procattr_cmdtype_set()</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_procattr_cmdtype_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#gadcb981d7748c580eb69ac11dbf709060">apr_cmdtype_e</a> </td>
<td class="paramname"><em>cmd</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set what type of command the child process will call. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">cmd</td><td>The type of command. One of: <pre>
APR_SHELLCMD -- Anything that the shell can handle
APR_PROGRAM -- Executable program (default)
APR_PROGRAM_ENV -- Executable program, copy environment
APR_PROGRAM_PATH -- Executable program on PATH, copy env
</pre> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga90f8ef684e601c110daad9b63da53cf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga90f8ef684e601c110daad9b63da53cf3">◆ </a></span>apr_procattr_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_procattr_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> ** </td>
<td class="paramname"><em>new_attr</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>cont</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create and initialize a new procattr variable </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">new_attr</td><td>The newly created procattr. </td></tr>
<tr><td class="paramname">cont</td><td>The pool to use </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga3ccca55041f648f00f0605673d4e0fdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ccca55041f648f00f0605673d4e0fdc">◆ </a></span>apr_procattr_detach_set()</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_procattr_detach_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>detach</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Determine if the child should start in detached state. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">detach</td><td>Should the child start in detached state? Default is no. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga97766f50b0ae083a2f8a28e698a59baa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97766f50b0ae083a2f8a28e698a59baa">◆ </a></span>apr_procattr_dir_set()</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_procattr_dir_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>dir</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set which directory the child process should start executing in. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">dir</td><td>Which dir to start in. By default, this is the same dir as the parent currently resides in, when the createprocess call is made. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga24076f050e9385af09ad8c3931d8dc43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24076f050e9385af09ad8c3931d8dc43">◆ </a></span>apr_procattr_error_check_set()</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_procattr_error_check_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>chk</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Specify that <a class="el" href="group__apr__thread__proc.html#gab51dd90b98d365a969f0ec5c7bef4e14">apr_proc_create()</a> should do whatever it can to report failures to the caller of <a class="el" href="group__apr__thread__proc.html#gab51dd90b98d365a969f0ec5c7bef4e14">apr_proc_create()</a>, rather than find out in the child. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr describing the child process to be created. </td></tr>
<tr><td class="paramname">chk</td><td>Flag to indicate whether or not extra work should be done to try to report failures to the caller. </td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This flag only affects <a class="el" href="group__apr__thread__proc.html#gab51dd90b98d365a969f0ec5c7bef4e14">apr_proc_create()</a> on platforms where fork() is used. This leads to extra overhead in the calling process, but that may help the application handle such errors more gracefully. </dd></dl>
</div>
</div>
<a id="ga391f0d3831a5894ea2118762789a395d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga391f0d3831a5894ea2118762789a395d">◆ </a></span>apr_procattr_group_set()</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_procattr_group_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>groupname</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the group used for running process </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">groupname</td><td>The group name used </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga2b1598bc6f5ab0bfcf2e55096d563c98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b1598bc6f5ab0bfcf2e55096d563c98">◆ </a></span>apr_procattr_io_set()</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_procattr_io_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>in</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>err</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Determine if any of stdin, stdout, or stderr should be linked to pipes when starting a child process. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">in</td><td>Should stdin be a pipe back to the parent? </td></tr>
<tr><td class="paramname">out</td><td>Should stdout be a pipe back to the parent? </td></tr>
<tr><td class="paramname">err</td><td>Should stderr be a pipe back to the parent? </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If APR_NO_PIPE, there will be no special channel, the child inherits the parent's corresponding stdio stream. If APR_NO_FILE is specified, that corresponding stream is closed in the child (and will be INVALID_HANDLE_VALUE when inspected on Win32). This can have ugly side effects, as the next file opened in the child on Unix will fall into the stdio stream fd slot! </dd></dl>
</div>
</div>
<a id="gad7fc1ca525d7a571cddd0aa9f0078d0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7fc1ca525d7a571cddd0aa9f0078d0c">◆ </a></span>apr_procattr_perms_set_register()</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_procattr_perms_set_register </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__perms__set.html#gae240e592581cd75c82125ca7b8ce70a5">apr_perms_setfn_t</a> * </td>
<td class="paramname"><em>perms_set_fn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__file__info.html#ga3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> </td>
<td class="paramname"><em>perms</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Register permission set function </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">perms_set_fn</td><td>Permission set callback </td></tr>
<tr><td class="paramname">data</td><td>Data to pass to permission callback function </td></tr>
<tr><td class="paramname">perms</td><td>Permissions to set </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga741ed3dc047b935b091a21528c49bb19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga741ed3dc047b935b091a21528c49bb19">◆ </a></span>apr_procattr_user_set()</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_procattr_user_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga0d83919a6a0dd609598a864917f8b339">apr_procattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>username</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>password</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the username used for running process </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The procattr we care about. </td></tr>
<tr><td class="paramname">username</td><td>The username used </td></tr>
<tr><td class="paramname">password</td><td>User password if needed. Password is needed on WIN32 or any other platform having APR_PROCATTR_USER_SET_REQUIRES_PASSWORD set. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gaeba6593f43f1de94c2b4495dd72b0e9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeba6593f43f1de94c2b4495dd72b0e9f">◆ </a></span>apr_thread_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_thread_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> ** </td>
<td class="paramname"><em>new_thread</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#gaa1f88d2a6fe971ac200e466cae5f63e0">apr_thread_start_t</a> </td>
<td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</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>cont</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new thread of execution </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">new_thread</td><td>The newly created thread handle. </td></tr>
<tr><td class="paramname">attr</td><td>The threadattr to use to determine how to create the thread </td></tr>
<tr><td class="paramname">func</td><td>The function to start the new thread in </td></tr>
<tr><td class="paramname">data</td><td>Any data to be passed to the starting function </td></tr>
<tr><td class="paramname">cont</td><td>The pool to use </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gad799c8140ed068a12f1dbe134423eae7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad799c8140ed068a12f1dbe134423eae7">◆ </a></span>apr_thread_data_get()</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_thread_data_get </td>
<td>(</td>
<td class="paramtype">void ** </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> * </td>
<td class="paramname"><em>thread</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return user data associated with the current thread. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The user data associated with the thread. </td></tr>
<tr><td class="paramname">key</td><td>The key to associate with the data </td></tr>
<tr><td class="paramname">thread</td><td>The currently open thread. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gaa90d79c9935692db4f27a6573f437221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa90d79c9935692db4f27a6573f437221">◆ </a></span>apr_thread_data_set()</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_thread_data_set </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>(*)(void *) </td>
<td class="paramname"><em>cleanup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> * </td>
<td class="paramname"><em>thread</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set user data associated with the current thread. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The user data to associate with the thread. </td></tr>
<tr><td class="paramname">key</td><td>The key to use for associating the data with the thread </td></tr>
<tr><td class="paramname">cleanup</td><td>The cleanup routine to use when the thread is destroyed. </td></tr>
<tr><td class="paramname">thread</td><td>The currently open thread. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gadbd186912d5f6f2a19a175e1e02ba10e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadbd186912d5f6f2a19a175e1e02ba10e">◆ </a></span>apr_thread_detach()</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_thread_detach </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> * </td>
<td class="paramname"><em>thd</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>detach a thread </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">thd</td><td>The thread to detach </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga0e35365e530578bca1b4bea522ac8c85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e35365e530578bca1b4bea522ac8c85">◆ </a></span>apr_thread_exit()</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_thread_exit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> * </td>
<td class="paramname"><em>thd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> </td>
<td class="paramname"><em>retval</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>stop the current thread </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">thd</td><td>The thread to stop </td></tr>
<tr><td class="paramname">retval</td><td>The return value to pass back to any thread that cares </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga1b950f36fa5bcd5a64887073f46f6d13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1b950f36fa5bcd5a64887073f46f6d13">◆ </a></span>apr_thread_join()</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_thread_join </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> * </td>
<td class="paramname"><em>retval</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> * </td>
<td class="paramname"><em>thd</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>block until the desired thread stops executing. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">retval</td><td>The return value from the dead thread. </td></tr>
<tr><td class="paramname">thd</td><td>The thread to join </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga8f3645ee52ff07566c92181b4ce732d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f3645ee52ff07566c92181b4ce732d8">◆ </a></span>apr_thread_once()</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_thread_once </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a> * </td>
<td class="paramname"><em>control</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void(*)(void) </td>
<td class="paramname"><em>func</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Run the specified function one time, regardless of how many threads call it. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">control</td><td>The control variable. The same variable should be passed in each time the function is tried to be called. This is how the underlying functions determine if the function has ever been called before. </td></tr>
<tr><td class="paramname">func</td><td>The function to call. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga63f3bf667151053e45d5a2029daeda0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63f3bf667151053e45d5a2029daeda0d">◆ </a></span>apr_thread_once_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_thread_once_init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga91841bcf20d0579e8e6acc6d3c220ac1">apr_thread_once_t</a> ** </td>
<td class="paramname"><em>control</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>p</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initialize the control variable for apr_thread_once. If this isn't called, apr_initialize won't work. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">control</td><td>The control variable to initialize </td></tr>
<tr><td class="paramname">p</td><td>The pool to allocate data from. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga089b70ae9d6c64d2675a1fd1e9cd0d0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga089b70ae9d6c64d2675a1fd1e9cd0d0d">◆ </a></span>apr_thread_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_thread_pool_get </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> * </td>
<td class="paramname"><em>thethread</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the child-pool used by the thread from the thread info. </p><dl class="section return"><dt>Returns</dt><dd>apr_pool_t the pool </dd></dl>
</div>
</div>
<a id="gacd69fb862c069cb6f297f65d64b5c102"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd69fb862c069cb6f297f65d64b5c102">◆ </a></span>apr_thread_yield()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apr_thread_yield </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>force the current thread to yield the processor </p>
</div>
</div>
<a id="ga66c2f55e5dff9ac37bd32e9febd38da5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga66c2f55e5dff9ac37bd32e9febd38da5">◆ </a></span>apr_threadattr_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_threadattr_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> ** </td>
<td class="paramname"><em>new_attr</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>cont</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create and initialize a new threadattr variable </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">new_attr</td><td>The newly created threadattr. </td></tr>
<tr><td class="paramname">cont</td><td>The pool to use </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gae5b7cdb3de542d1b7b52fe5d9d8cb00b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae5b7cdb3de542d1b7b52fe5d9d8cb00b">◆ </a></span>apr_threadattr_detach_get()</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_threadattr_detach_get </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> * </td>
<td class="paramname"><em>attr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the detach state for this threadattr. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The threadattr to reference </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>APR_DETACH if threads are to be detached, or APR_NOTDETACH if threads are to be joinable. </dd></dl>
</div>
</div>
<a id="ga85d44b3b021f28116122d5e40e024648"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85d44b3b021f28116122d5e40e024648">◆ </a></span>apr_threadattr_detach_set()</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_threadattr_detach_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_int32_t </td>
<td class="paramname"><em>on</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set if newly created threads should be created in detached state. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The threadattr to affect </td></tr>
<tr><td class="paramname">on</td><td>Non-zero if detached threads should be created. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga2e732f2913291180c0c484f57d727140"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e732f2913291180c0c484f57d727140">◆ </a></span>apr_threadattr_guardsize_set()</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_threadattr_guardsize_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_size_t </td>
<td class="paramname"><em>guardsize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the stack guard area size of newly created threads. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The threadattr to affect </td></tr>
<tr><td class="paramname">guardsize</td><td>The stack guard area size in bytes </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Thread library implementations commonly use a "guard area" after each thread's stack which is not readable or writable such that stack overflows cause a segfault; this consumes e.g. 4K of memory and increases memory management overhead. Setting the guard area size to zero hence trades off reliable behaviour on stack overflow for performance. </dd></dl>
</div>
</div>
<a id="ga7849e0d637338a18cb44f66f11f28ed1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7849e0d637338a18cb44f66f11f28ed1">◆ </a></span>apr_threadattr_stacksize_set()</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_threadattr_stacksize_set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga35de571e9944871c10b38d8feef885ac">apr_threadattr_t</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_size_t </td>
<td class="paramname"><em>stacksize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the stack size of newly created threads. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">attr</td><td>The threadattr to affect </td></tr>
<tr><td class="paramname">stacksize</td><td>The stack size in bytes </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gae203664972dfc5c555620ae1788f5b48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae203664972dfc5c555620ae1788f5b48">◆ </a></span>apr_threadkey_data_get()</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_threadkey_data_get </td>
<td>(</td>
<td class="paramtype">void ** </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> * </td>
<td class="paramname"><em>threadkey</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the pool associated with the current threadkey. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The user data associated with the threadkey. </td></tr>
<tr><td class="paramname">key</td><td>The key associated with the data </td></tr>
<tr><td class="paramname">threadkey</td><td>The currently open threadkey. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga1059158f34dded87f21ba82af1211951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1059158f34dded87f21ba82af1211951">◆ </a></span>apr_threadkey_data_set()</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_threadkey_data_set </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>(*)(void *) </td>
<td class="paramname"><em>cleanup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> * </td>
<td class="paramname"><em>threadkey</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the pool associated with the current threadkey. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The data to set. </td></tr>
<tr><td class="paramname">key</td><td>The key to associate with the data. </td></tr>
<tr><td class="paramname">cleanup</td><td>The cleanup routine to use when the file is destroyed. </td></tr>
<tr><td class="paramname">threadkey</td><td>The currently open threadkey. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gacb9553b2b3165388bfc0a54b1148804a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacb9553b2b3165388bfc0a54b1148804a">◆ </a></span>apr_threadkey_private_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_threadkey_private_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> ** </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void(*)(void *) </td>
<td class="paramname"><em>dest</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>cont</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create and initialize a new thread private address space </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>The thread private handle. </td></tr>
<tr><td class="paramname">dest</td><td>The destructor to use when freeing the private memory. </td></tr>
<tr><td class="paramname">cont</td><td>The pool to use </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga20b9b79892a6532784fff023a4ebd8cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga20b9b79892a6532784fff023a4ebd8cf">◆ </a></span>apr_threadkey_private_delete()</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_threadkey_private_delete </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> * </td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Free the thread private memory </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>The handle for the desired thread private memory </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga371c87c122cc3df0b7ad0031f6e11167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga371c87c122cc3df0b7ad0031f6e11167">◆ </a></span>apr_threadkey_private_get()</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_threadkey_private_get </td>
<td>(</td>
<td class="paramtype">void ** </td>
<td class="paramname"><em>new_mem</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> * </td>
<td class="paramname"><em>key</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a pointer to the thread private memory </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">new_mem</td><td>The data stored in private memory </td></tr>
<tr><td class="paramname">key</td><td>The handle for the desired thread private memory </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga63501a064ca7f1818aa056b40146aa0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63501a064ca7f1818aa056b40146aa0b">◆ </a></span>apr_threadkey_private_set()</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_threadkey_private_set </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>priv</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> * </td>
<td class="paramname"><em>key</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the data to be stored in thread private memory </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">priv</td><td>The data to be stored in private memory </td></tr>
<tr><td class="paramname">key</td><td>The handle for the desired thread private memory </td></tr>
</table>
</dd>
</dl>
</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