<tr><td class="paramdir">[in]</td><td class="paramname">timeout_duration</td><td>a specific duration, which when expired unblocks the thread.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> on successful lock acquisition, <code>false</code> otherwise.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classpmem_1_1lock__error.html" title="Custom lock error class.">lock_error