diff options
Diffstat (limited to 'doc/ref/core.internal/html/sync_8c.html')
-rw-r--r-- | doc/ref/core.internal/html/sync_8c.html | 431 |
1 files changed, 431 insertions, 0 deletions
diff --git a/doc/ref/core.internal/html/sync_8c.html b/doc/ref/core.internal/html/sync_8c.html new file mode 100644 index 0000000000..ae34d0bbbe --- /dev/null +++ b/doc/ref/core.internal/html/sync_8c.html @@ -0,0 +1,431 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/> +<title>GRPC Core: src/core/support/sync.c File Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</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 style="padding-left: 0.5em;"> + <div id="projectname">GRPC Core +  <span id="projectnumber">0.10.0.0</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.6 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Data Structures</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>Globals</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_9410f15740cc8f8ab312fa27ab494b45.html">support</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#enum-members">Enumerations</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">sync.c File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <<a class="el" href="log_8h_source.html">grpc/support/log.h</a>></code><br/> +<code>#include <<a class="el" href="sync_8h_source.html">grpc/support/sync.h</a>></code><br/> +<code>#include <<a class="el" href="atm_8h_source.html">grpc/support/atm.h</a>></code><br/> +</div><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"><b>sync_array_s</b></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="enum-members"></a> +Enumerations</h2></td></tr> +<tr class="memitem:a0ed680fdb405e7195d9f14032851eebb"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <a class="el" href="sync_8c.html#a0ed680fdb405e7195d9f14032851eebba036372fdae4f52140a8f27482b729753">event_sync_partitions</a> = 31 + }</td></tr> +<tr class="separator:a0ed680fdb405e7195d9f14032851eebb"><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:a93f37cd27964fda51acd4cd8e6737922"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a93f37cd27964fda51acd4cd8e6737922">gpr_event_init</a> (<a class="el" href="structgpr__event.html">gpr_event</a> *ev)</td></tr> +<tr class="separator:a93f37cd27964fda51acd4cd8e6737922"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1b1d014640e00512f6789dacc4ff88bd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a1b1d014640e00512f6789dacc4ff88bd">gpr_event_set</a> (<a class="el" href="structgpr__event.html">gpr_event</a> *ev, void *<a class="el" href="hpack__table_8c.html#a8556878012feffc9e0beb86cd78f424d">value</a>)</td></tr> +<tr class="separator:a1b1d014640e00512f6789dacc4ff88bd"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac0a2305d9e6575cc5a3d92bc3f12c161"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#ac0a2305d9e6575cc5a3d92bc3f12c161">gpr_event_get</a> (<a class="el" href="structgpr__event.html">gpr_event</a> *ev)</td></tr> +<tr class="separator:ac0a2305d9e6575cc5a3d92bc3f12c161"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a01d442a76ff77f64d9f898b22ea33db7"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a01d442a76ff77f64d9f898b22ea33db7">gpr_event_wait</a> (<a class="el" href="structgpr__event.html">gpr_event</a> *ev, <a class="el" href="structgpr__timespec.html">gpr_timespec</a> abs_deadline)</td></tr> +<tr class="separator:a01d442a76ff77f64d9f898b22ea33db7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae048c7e762b723821e35a07fd0d85e22"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#ae048c7e762b723821e35a07fd0d85e22">gpr_event_cancellable_wait</a> (<a class="el" href="structgpr__event.html">gpr_event</a> *ev, <a class="el" href="structgpr__timespec.html">gpr_timespec</a> abs_deadline, <a class="el" href="structgpr__cancellable.html">gpr_cancellable</a> *c)</td></tr> +<tr class="separator:ae048c7e762b723821e35a07fd0d85e22"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a235584f36572b5410b042ee63cb0740b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a235584f36572b5410b042ee63cb0740b">gpr_ref_init</a> (<a class="el" href="structgpr__refcount.html">gpr_refcount</a> *r, int n)</td></tr> +<tr class="separator:a235584f36572b5410b042ee63cb0740b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac0e52c6bfc7a04ba8a269f3227104571"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#ac0e52c6bfc7a04ba8a269f3227104571">gpr_ref</a> (<a class="el" href="structgpr__refcount.html">gpr_refcount</a> *r)</td></tr> +<tr class="separator:ac0e52c6bfc7a04ba8a269f3227104571"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a516e26b66b1aa53fba8f5f52b249cb25"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a516e26b66b1aa53fba8f5f52b249cb25">gpr_refn</a> (<a class="el" href="structgpr__refcount.html">gpr_refcount</a> *r, int n)</td></tr> +<tr class="separator:a516e26b66b1aa53fba8f5f52b249cb25"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a76b570c831b14070c37e708dde91b795"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a76b570c831b14070c37e708dde91b795">gpr_unref</a> (<a class="el" href="structgpr__refcount.html">gpr_refcount</a> *r)</td></tr> +<tr class="separator:a76b570c831b14070c37e708dde91b795"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a76b8e5de6e1baa4fd66c014417dc0a30"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a76b8e5de6e1baa4fd66c014417dc0a30">gpr_stats_init</a> (<a class="el" href="structgpr__stats__counter.html">gpr_stats_counter</a> *c, <a class="el" href="port__platform_8h.html#a72d9d0d00bd576cfc8eab61aaea76db2">gpr_intptr</a> n)</td></tr> +<tr class="separator:a76b8e5de6e1baa4fd66c014417dc0a30"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8e51ec3b46c7c03602e2279a802daa1c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a8e51ec3b46c7c03602e2279a802daa1c">gpr_stats_inc</a> (<a class="el" href="structgpr__stats__counter.html">gpr_stats_counter</a> *c, <a class="el" href="port__platform_8h.html#a72d9d0d00bd576cfc8eab61aaea76db2">gpr_intptr</a> inc)</td></tr> +<tr class="separator:a8e51ec3b46c7c03602e2279a802daa1c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:abb2c58da7d0b785887266b3b1890764d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="port__platform_8h.html#a72d9d0d00bd576cfc8eab61aaea76db2">gpr_intptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#abb2c58da7d0b785887266b3b1890764d">gpr_stats_read</a> (const <a class="el" href="structgpr__stats__counter.html">gpr_stats_counter</a> *c)</td></tr> +<tr class="separator:abb2c58da7d0b785887266b3b1890764d"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Enumeration Type Documentation</h2> +<a class="anchor" id="a0ed680fdb405e7195d9f14032851eebb"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">anonymous enum</td> + </tr> + </table> +</div><div class="memdoc"> +<table class="fieldtable"> +<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a0ed680fdb405e7195d9f14032851eebba036372fdae4f52140a8f27482b729753"></a>event_sync_partitions</em> </td><td class="fielddoc"> +</td></tr> +</table> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="ae048c7e762b723821e35a07fd0d85e22"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void* gpr_event_cancellable_wait </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__event.html">gpr_event</a> * </td> + <td class="paramname"><em>ev</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgpr__timespec.html">gpr_timespec</a> </td> + <td class="paramname"><em>abs_deadline</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgpr__cancellable.html">gpr_cancellable</a> * </td> + <td class="paramname"><em>c</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ac0a2305d9e6575cc5a3d92bc3f12c161"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void* gpr_event_get </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__event.html">gpr_event</a> * </td> + <td class="paramname"><em>ev</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a93f37cd27964fda51acd4cd8e6737922"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_event_init </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__event.html">gpr_event</a> * </td> + <td class="paramname"><em>ev</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a1b1d014640e00512f6789dacc4ff88bd"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_event_set </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__event.html">gpr_event</a> * </td> + <td class="paramname"><em>ev</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">void * </td> + <td class="paramname"><em>value</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a01d442a76ff77f64d9f898b22ea33db7"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void* gpr_event_wait </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__event.html">gpr_event</a> * </td> + <td class="paramname"><em>ev</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgpr__timespec.html">gpr_timespec</a> </td> + <td class="paramname"><em>abs_deadline</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ac0e52c6bfc7a04ba8a269f3227104571"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_ref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__refcount.html">gpr_refcount</a> * </td> + <td class="paramname"><em>r</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a235584f36572b5410b042ee63cb0740b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_ref_init </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__refcount.html">gpr_refcount</a> * </td> + <td class="paramname"><em>r</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>n</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a516e26b66b1aa53fba8f5f52b249cb25"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_refn </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__refcount.html">gpr_refcount</a> * </td> + <td class="paramname"><em>r</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"><em>n</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a8e51ec3b46c7c03602e2279a802daa1c"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_stats_inc </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__stats__counter.html">gpr_stats_counter</a> * </td> + <td class="paramname"><em>c</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="port__platform_8h.html#a72d9d0d00bd576cfc8eab61aaea76db2">gpr_intptr</a> </td> + <td class="paramname"><em>inc</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a76b8e5de6e1baa4fd66c014417dc0a30"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void gpr_stats_init </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__stats__counter.html">gpr_stats_counter</a> * </td> + <td class="paramname"><em>c</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="port__platform_8h.html#a72d9d0d00bd576cfc8eab61aaea76db2">gpr_intptr</a> </td> + <td class="paramname"><em>n</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="abb2c58da7d0b785887266b3b1890764d"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="port__platform_8h.html#a72d9d0d00bd576cfc8eab61aaea76db2">gpr_intptr</a> gpr_stats_read </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structgpr__stats__counter.html">gpr_stats_counter</a> * </td> + <td class="paramname"><em>c</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a76b570c831b14070c37e708dde91b795"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int gpr_unref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgpr__refcount.html">gpr_refcount</a> * </td> + <td class="paramname"><em>r</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated on Wed Aug 5 2015 08:17:07 for GRPC Core by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.6 +</small></address> +</body> +</html> |