boost::capy::coro_lock::lock
Returns an awaiter that acquires the mutex.
Synopsis
Declared in <boost/capy/ex/coro_lock.hpp>
lock_awaiter
lock() noexcept;
Return Value
An awaiter that suspends if the mutex is locked, or completes immediately if unlocked.
Created with MrDocs