boost::capy::async_mutex::lock_awaiter
Suspends the caller until the mutex is free, or resumes it with error::canceled on a stop request.
Synopsis
Declared in <boost/capy/ex/async_mutex.hpp>
class lock_awaiter
: public /* implementation-defined */::node
Member Functions
Name |
Description |
|
Constructors |
|
Destroy the awaiter, leaving the mutex unable to reach it. |
|
Assignment operators |
Acquire the mutex if it is free, reporting whether to suspend. |
|
Complete the acquisition and report the outcome. |
|
Enqueue the awaiting coroutine until the mutex is released. |
Friends
Name |
Description |
Queues coroutines in |
Created with MrDocs