This file is indexed.

/usr/share/doc/libucommon-dev/a00041.html is in libucommon-doc 3.2.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
<!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"/>
<title>UCommon: ucc::ConditionalAccess Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00041.html">ConditionalAccess</a>
  </div>
</div>
<div class="contents">
<h1>ucc::ConditionalAccess Class Reference</h1><!-- doxytag: class="ucc::ConditionalAccess" --><!-- doxytag: inherits="ucc::Conditional" -->
<p>The conditional rw seperates scheduling for optizming behavior or rw locks.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00208_source.html">thread.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ucc::ConditionalAccess:</div>
<div class="dynsection">
<div class="center"><img src="a00373.png" border="0" usemap="#ucc_1_1_conditional_access_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1_conditional_access_inherit__map" id="ucc_1_1_conditional_access_inherit__map">
<area shape="rect" id="node5" href="a00042.html" title="An optimized and convertable shared lock." alt="" coords="5,160,157,189"/><area shape="rect" id="node7" href="a00115.html" title="A generic and portable implimentation of Read/Write locking." alt="" coords="181,160,272,189"/><area shape="rect" id="node9" href="a00141.html" title="The shared pointer is used to manage a singleton instance of shared object." alt="" coords="296,160,437,189"/><area shape="rect" id="node2" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes." alt="" coords="165,5,288,35"/><area shape="rect" id="node11" href="a00138.html" title="Templated shared pointer for singleton shared objects of specific type." alt="" coords="275,237,459,267"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ucc::ConditionalAccess:</div>
<div class="dynsection">
<div class="center"><img src="a00374.png" border="0" usemap="#ucc_1_1_conditional_access_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1_conditional_access_coll__map" id="ucc_1_1_conditional_access_coll__map">
<area shape="rect" id="node2" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes." alt="" coords="28,5,151,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46436dd5ff53ca22b8d504409ecb7d87"></a><!-- doxytag: member="ucc::ConditionalAccess::access" ref="a46436dd5ff53ca22b8d504409ecb7d87" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a46436dd5ff53ca22b8d504409ecb7d87">access</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access mode shared thread scheduling. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae4efc6f4ca22b3871638cef56db38a7"></a><!-- doxytag: member="ucc::ConditionalAccess::commit" ref="aae4efc6f4ca22b3871638cef56db38a7" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#aae4efc6f4ca22b3871638cef56db38a7">commit</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Complete exclusive mode write scheduling. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5dfe5272ffd6d29c611f056c61c06aa"></a><!-- doxytag: member="ucc::ConditionalAccess::ConditionalAccess" ref="ad5dfe5272ffd6d29c611f056c61c06aa" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#ad5dfe5272ffd6d29c611f056c61c06aa">ConditionalAccess</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialize and construct conditional. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a40005638dfda66612293aca1ca9c2331">limit_sharing</a> (unsigned max)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specify a maximum sharing (access) limit.  <a href="#a40005638dfda66612293aca1ca9c2331"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a808998cdbbf86426abd0091947d14516"></a><!-- doxytag: member="ucc::ConditionalAccess::modify" ref="a808998cdbbf86426abd0091947d14516" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a808998cdbbf86426abd0091947d14516">modify</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00052.html" title="An exclusive locking protocol interface base.">Exclusive</a> mode write thread scheduling. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51094b41fa291d5ad27770c84babed10"></a><!-- doxytag: member="ucc::ConditionalAccess::release" ref="a51094b41fa291d5ad27770c84babed10" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a51094b41fa291d5ad27770c84babed10">release</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Release access mode read scheduling. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17e2c355b40fa2ef28a04befef869d56"></a><!-- doxytag: member="ucc::ConditionalAccess::~ConditionalAccess" ref="a17e2c355b40fa2ef28a04befef869d56" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a17e2c355b40fa2ef28a04befef869d56">~ConditionalAccess</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroy conditional, release any blocked threads. <br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48b517f42aede73318bbe5b19ca43443"></a><!-- doxytag: member="ucc::ConditionalAccess::broadcast" ref="a48b517f42aede73318bbe5b19ca43443" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a48b517f42aede73318bbe5b19ca43443">broadcast</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Signal the conditional to release all broadcast threads. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad53d9f3e0db7765cd4afeadc98265c01"></a><!-- doxytag: member="ucc::ConditionalAccess::lock" ref="ad53d9f3e0db7765cd4afeadc98265c01" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#ad53d9f3e0db7765cd4afeadc98265c01">lock</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock the conditional's supporting mutex. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69cf5d9cff15041a819deb22443e1798"></a><!-- doxytag: member="ucc::ConditionalAccess::signal" ref="a69cf5d9cff15041a819deb22443e1798" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a69cf5d9cff15041a819deb22443e1798">signal</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Signal the conditional to release one signalled thread. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60e5c4ac86cc3e486f4853c9354426ed"></a><!-- doxytag: member="ucc::ConditionalAccess::unlock" ref="a60e5c4ac86cc3e486f4853c9354426ed" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a60e5c4ac86cc3e486f4853c9354426ed">unlock</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unlock the conditional's supporting mutex. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace5677f9ecf6fa3f2b2f7424e01185f7"></a><!-- doxytag: member="ucc::ConditionalAccess::waitBroadcast" ref="ace5677f9ecf6fa3f2b2f7424e01185f7" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#ace5677f9ecf6fa3f2b2f7424e01185f7">waitBroadcast</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait (block) until broadcast. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#aedf4a8a9ee107b55474883b8cf1d174f">waitBroadcast</a> (struct timespec *timeout)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for broadcast on timespec timeout.  <a href="#aedf4a8a9ee107b55474883b8cf1d174f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#abe708c5fc0a0df2a410bda2f7212acc8">waitBroadcast</a> (<a class="el" href="a00201.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timeout)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for broadcast on millisecond timeout.  <a href="#abe708c5fc0a0df2a410bda2f7212acc8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83d1ebcc1209f640996e43906d9207a9"></a><!-- doxytag: member="ucc::ConditionalAccess::waitSignal" ref="a83d1ebcc1209f640996e43906d9207a9" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a83d1ebcc1209f640996e43906d9207a9">waitSignal</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wait (block) until signalled. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a25af2998ebdd65f641208ae2f9b98454">waitSignal</a> (struct timespec *timeout)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for signal on timespec timeout.  <a href="#a25af2998ebdd65f641208ae2f9b98454"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a2a77070edbf27598235188b88e810e51">waitSignal</a> (<a class="el" href="a00201.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timeout)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for signal on millisecond timeout.  <a href="#a2a77070edbf27598235188b88e810e51"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html#a0312dd3986d22cbba971f0e265f43206">gettimeout</a> (<a class="el" href="a00201.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a> timeout, struct timespec *hires)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a millisecond timeout into use for high resolution conditional timers.  <a href="#a0312dd3986d22cbba971f0e265f43206"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ce351943db5d995e378405595619c65"></a><!-- doxytag: member="ucc::ConditionalAccess::pending" ref="a9ce351943db5d995e378405595619c65" args="" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>pending</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bb12eb225665b3a86c8d8dd8e0dac0a"></a><!-- doxytag: member="ucc::ConditionalAccess::sharing" ref="a0bb12eb225665b3a86c8d8dd8e0dac0a" args="" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>sharing</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec9c5be461c5d11c04d502ae067f866b"></a><!-- doxytag: member="ucc::ConditionalAccess::waiting" ref="aec9c5be461c5d11c04d502ae067f866b" args="" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>waiting</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The conditional rw seperates scheduling for optizming behavior or rw locks. </p>
<p>This varient of conditonal seperates scheduling read (broadcast wakeup) and write (signal wakeup) based threads. This is used to form generic rwlock's as well as the specialized condlock. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar &lt;<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="a00208_source.html#l00210">210</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0312dd3986d22cbba971f0e265f43206"></a><!-- doxytag: member="ucc::ConditionalAccess::gettimeout" ref="a0312dd3986d22cbba971f0e265f43206" args="(timeout_t timeout, struct timespec *hires)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void ucc::ConditionalAccess::gettimeout </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00201.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a>&nbsp;</td>
          <td class="paramname"> <em>timeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct timespec *&nbsp;</td>
          <td class="paramname"> <em>hires</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convert a millisecond timeout into use for high resolution conditional timers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>to convert. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hires</em>&nbsp;</td><td>timespec representation to fill. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="a00040.html#aff4c078d6e84e0c273eb321e3c5d0cd6">ucc::Conditional</a>.</p>

<p>Definition at line <a class="el" href="a00208_source.html#l00255">255</a> of file <a class="el" href="a00208_source.html">thread.h</a>.</p>

</div>
</div>
<a class="anchor" id="a40005638dfda66612293aca1ca9c2331"></a><!-- doxytag: member="ucc::ConditionalAccess::limit_sharing" ref="a40005638dfda66612293aca1ca9c2331" args="(unsigned max)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::ConditionalAccess::limit_sharing </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>max</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify a maximum sharing (access) limit. </p>
<p>This can be used to detect locking errors, such as when aquiring locks that are not released. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>max</em>&nbsp;</td><td>sharing level. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aedf4a8a9ee107b55474883b8cf1d174f"></a><!-- doxytag: member="ucc::ConditionalAccess::waitBroadcast" ref="aedf4a8a9ee107b55474883b8cf1d174f" args="(struct timespec *timeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucc::ConditionalAccess::waitBroadcast </td>
          <td>(</td>
          <td class="paramtype">struct timespec *&nbsp;</td>
          <td class="paramname"> <em>timeout</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for broadcast on timespec timeout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>as a high resolution timespec. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if signalled, false if timer expired. </dd></dl>

</div>
</div>
<a class="anchor" id="abe708c5fc0a0df2a410bda2f7212acc8"></a><!-- doxytag: member="ucc::ConditionalAccess::waitBroadcast" ref="abe708c5fc0a0df2a410bda2f7212acc8" args="(timeout_t timeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucc::ConditionalAccess::waitBroadcast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00201.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a>&nbsp;</td>
          <td class="paramname"> <em>timeout</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for broadcast on millisecond timeout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>in milliseconds. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if signalled, false if timer expired. </dd></dl>

</div>
</div>
<a class="anchor" id="a25af2998ebdd65f641208ae2f9b98454"></a><!-- doxytag: member="ucc::ConditionalAccess::waitSignal" ref="a25af2998ebdd65f641208ae2f9b98454" args="(struct timespec *timeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucc::ConditionalAccess::waitSignal </td>
          <td>(</td>
          <td class="paramtype">struct timespec *&nbsp;</td>
          <td class="paramname"> <em>timeout</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for signal on timespec timeout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>as a high resolution timespec. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if signalled, false if timer expired. </dd></dl>

</div>
</div>
<a class="anchor" id="a2a77070edbf27598235188b88e810e51"></a><!-- doxytag: member="ucc::ConditionalAccess::waitSignal" ref="a2a77070edbf27598235188b88e810e51" args="(timeout_t timeout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ucc::ConditionalAccess::waitSignal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00201.html#af412159e5cef839836a5e7b19ee75d1c">timeout_t</a>&nbsp;</td>
          <td class="paramname"> <em>timeout</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="a00040.html" title="The conditional is a common base for other thread synchronizing classes.">Conditional</a> wait for signal on millisecond timeout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>in milliseconds. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if signalled, false if timer expired. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00208_source.html">thread.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:27 2010 for UCommon by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>