s="keyword">const</span> <span class="keyword">auto</span> timeout = std::chrono::milliseconds(100);</div><div class="line"></div><div class="line">    <span class="comment">// typical usage schemes</span></div><div class="line">    proot-&gt;pmutex.try_lock_for(timeout);</div><div class="line"></div><div class="line">    proot-&gt;pmutex.try_lock_until(std::chrono::steady_clock::now() +</div><div class="line">                     timeout);</div><div class="line">}</div></div><!-- fragment --></div><h2 clas