<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>
<trclass="memdesc:a69bede1d3b6d654a8084fbea0a59a208"><tdclass="mdescLeft"> </td><tdclass="mdescRight">A <aclass="el"href="classcrashpad_1_1Semaphore.html#af22faf8672a7d7a6dd96aefc53560712"title="Performs a timed wait (or “procure”) operation on the semaphore. ">TimedWait()</a> argument that causes an indefinite wait. <ahref="#a69bede1d3b6d654a8084fbea0a59a208">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>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">seconds</td><td>The maximum number of seconds to wait for the operation to complete. If <em>seconds</em> is <aclass="el"href="classcrashpad_1_1Semaphore.html#a69bede1d3b6d654a8084fbea0a59a208"title="A TimedWait() argument that causes an indefinite wait. ">kIndefiniteWait</a>, this method behaves as <aclass="el"href="classcrashpad_1_1Semaphore.html#ade6db63246c9d6f3a36f3631b04c2bfd"title="Performs the wait (or “procure”) operation on the semaphore. ">Wait()</a>, and will not time out.</td></tr>
<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>
<b>Initial value:</b><divclass="fragment"><divclass="line">=</div><divclass="line"> std::numeric_limits<double>::infinity()</div></div><!-- fragment -->
<p>A <aclass="el"href="classcrashpad_1_1Semaphore.html#af22faf8672a7d7a6dd96aefc53560712"title="Performs a timed wait (or “procure”) operation on the semaphore. ">TimedWait()</a> argument that causes an indefinite wait. </p>