D7net Mini Sh3LL v1
Current File : //libx32/../share/fwupd/../doc/dmeventd/../libapr1-dev/html/group__apr__os__thread.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: Thread portability Routines</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache Portable Runtime
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Thread portability Routines<div class="ingroups"><a class="el" href="group___a_p_r.html">Apache Portability Runtime library</a> » <a class="el" href="group__apr__portabile.html">Portability Routines</a></div></div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for Thread portability Routines:</div>
<div class="dyncontent">
<div class="center"><img src="group__apr__os__thread.png" border="0" usemap="#group____apr____os____thread" alt=""/></div>
<!-- MAP 0 -->
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gadda5e99fc387491a2a9436bf6144bd49"><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__os__thread.html#gadda5e99fc387491a2a9436bf6144bd49">apr_os_thread_get</a> (apr_os_thread_t **thethd, <a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> *thd)</td></tr>
<tr class="separator:gadda5e99fc387491a2a9436bf6144bd49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2fd6ec9d398c4f2564765866c3d31219"><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__os__thread.html#ga2fd6ec9d398c4f2564765866c3d31219">apr_os_threadkey_get</a> (apr_os_threadkey_t *thekey, <a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> *key)</td></tr>
<tr class="separator:ga2fd6ec9d398c4f2564765866c3d31219"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7eda58df34fbc11cd251899e575a1b0f"><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__os__thread.html#ga7eda58df34fbc11cd251899e575a1b0f">apr_os_thread_put</a> (<a class="el" href="group__apr__thread__proc.html#ga646c71351e723d84f8cc8c8d1d5937be">apr_thread_t</a> **thd, apr_os_thread_t *thethd, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *cont)</td></tr>
<tr class="separator:ga7eda58df34fbc11cd251899e575a1b0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga386f6e3e205d422f623132bb50147133"><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__os__thread.html#ga386f6e3e205d422f623132bb50147133">apr_os_threadkey_put</a> (<a class="el" href="group__apr__thread__proc.html#ga337c9c1bd2d47740022071a5c41f2edb">apr_threadkey_t</a> **key, apr_os_threadkey_t *thekey, <a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *cont)</td></tr>
<tr class="separator:ga386f6e3e205d422f623132bb50147133"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga669a17c3a41db20bbc41c06d0e8881b3"><td class="memItemLeft" align="right" valign="top">apr_os_thread_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__os__thread.html#ga669a17c3a41db20bbc41c06d0e8881b3">apr_os_thread_current</a> (void)</td></tr>
<tr class="separator:ga669a17c3a41db20bbc41c06d0e8881b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac55d4bbc219435046872b1236feb9bfa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__apr__os__thread.html#gac55d4bbc219435046872b1236feb9bfa">apr_os_thread_equal</a> (apr_os_thread_t tid1, apr_os_thread_t tid2)</td></tr>
<tr class="separator:gac55d4bbc219435046872b1236feb9bfa"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga669a17c3a41db20bbc41c06d0e8881b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga669a17c3a41db20bbc41c06d0e8881b3">◆ </a></span>apr_os_thread_current()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">apr_os_thread_t apr_os_thread_current </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the thread ID </p>
</div>
</div>
<a id="gac55d4bbc219435046872b1236feb9bfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac55d4bbc219435046872b1236feb9bfa">◆ </a></span>apr_os_thread_equal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int apr_os_thread_equal </td>
<td>(</td>
<td class="paramtype">apr_os_thread_t </td>
<td class="paramname"><em>tid1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">apr_os_thread_t </td>
<td class="paramname"><em>tid2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare two thread id's </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tid1</td><td>1st Thread ID to compare </td></tr>
<tr><td class="paramname">tid2</td><td>2nd Thread ID to compare </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>non-zero if the two threads are equal, zero otherwise </dd></dl>
</div>
</div>
<a id="gadda5e99fc387491a2a9436bf6144bd49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadda5e99fc387491a2a9436bf6144bd49">◆ </a></span>apr_os_thread_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_os_thread_get </td>
<td>(</td>
<td class="paramtype">apr_os_thread_t ** </td>
<td class="paramname"><em>thethd</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>convert the thread to os specific type from apr type. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">thethd</td><td>The apr thread to convert </td></tr>
<tr><td class="paramname">thd</td><td>The os specific thread we are converting to </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga7eda58df34fbc11cd251899e575a1b0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7eda58df34fbc11cd251899e575a1b0f">◆ </a></span>apr_os_thread_put()</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_os_thread_put </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">apr_os_thread_t * </td>
<td class="paramname"><em>thethd</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>convert the thread from os specific type to apr type. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">thd</td><td>The apr thread we are converting to. </td></tr>
<tr><td class="paramname">thethd</td><td>The os specific thread to convert </td></tr>
<tr><td class="paramname">cont</td><td>The pool to use if it is needed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga2fd6ec9d398c4f2564765866c3d31219"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2fd6ec9d398c4f2564765866c3d31219">◆ </a></span>apr_os_threadkey_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_os_threadkey_get </td>
<td>(</td>
<td class="paramtype">apr_os_threadkey_t * </td>
<td class="paramname"><em>thekey</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>convert the thread private memory key to os specific type from an apr type. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">thekey</td><td>The apr handle we are converting from. </td></tr>
<tr><td class="paramname">key</td><td>The os specific handle we are converting to. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga386f6e3e205d422f623132bb50147133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga386f6e3e205d422f623132bb50147133">◆ </a></span>apr_os_threadkey_put()</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_os_threadkey_put </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">apr_os_threadkey_t * </td>
<td class="paramname"><em>thekey</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>convert the thread private memory key from os specific type to apr type. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>The apr handle we are converting to. </td></tr>
<tr><td class="paramname">thekey</td><td>The os specific handle to convert </td></tr>
<tr><td class="paramname">cont</td><td>The pool to use if it is needed. </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