<trclass="memdesc:affe042d8a25991c90213370af5453010"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the semaphore. <ahref="#affe042d8a25991c90213370af5453010">More...</a><br/></td></tr>
<trclass="memdesc:ade6db63246c9d6f3a36f3631b04c2bfd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Performs the wait (or “procure”) operation on the semaphore. <ahref="#ade6db63246c9d6f3a36f3631b04c2bfd">More...</a><br/></td></tr>
<trclass="memdesc:af22faf8672a7d7a6dd96aefc53560712"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Performs a timed wait (or “procure”) operation on the semaphore. <ahref="#af22faf8672a7d7a6dd96aefc53560712">More...</a><br/></td></tr>
<trclass="memdesc:a2ca2f5c53cd11234dc765d2ec95b6c7a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Performs the signal (or “post”) operation on the semaphore. <ahref="#a2ca2f5c53cd11234dc765d2ec95b6c7a">More...</a><br/></td></tr>
<p>Performs the signal (or “post”) operation on the semaphore. </p>
<p>Atomically increments the value of the semaphore by 1. If the new value is 0, a caller blocked in <aclass="el"href="classcrashpad_1_1Semaphore.html#ade6db63246c9d6f3a36f3631b04c2bfd"title="Performs the wait (or “procure”) operation on the semaphore. ">Wait()</a> will be awakened. </p>
<p>Performs a timed wait (or “procure”) operation on the semaphore. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">seconds</td><td>The maximum number of seconds to wait for the operation to complete.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>false</code> if the wait timed out, <code>true</code> otherwise.</dd></dl>
<p>This method is simlar to <aclass="el"href="classcrashpad_1_1Semaphore.html#ade6db63246c9d6f3a36f3631b04c2bfd"title="Performs the wait (or “procure”) operation on the semaphore. ">Wait()</a>, except that the amount of time that it blocks is limited. </p>
<p>Performs the wait (or “procure”) operation on the semaphore. </p>
<p>Atomically decrements the value of the semaphore by 1. If the new value is negative, this function blocks and will not return until the semaphore’s value is incremented to 0 by <aclass="el"href="classcrashpad_1_1Semaphore.html#a2ca2f5c53cd11234dc765d2ec95b6c7a"title="Performs the signal (or “post”) operation on the semaphore. ">Signal()</a>.</p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1Semaphore.html#af22faf8672a7d7a6dd96aefc53560712"title="Performs a timed wait (or “procure”) operation on the semaphore. ">TimedWait()</a></dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>util/synchronization/semaphore.h</li>
<li>util/synchronization/semaphore_mac.cc</li>
<li>util/synchronization/semaphore_posix.cc</li>
<li>util/synchronization/semaphore_win.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">