YACLib
C++ library for concurrent tasks execution
|
#include <mutex_awaiter.hpp>
Public Member Functions | |
LockAwaiter (M &m) noexcept | |
YACLIB_INLINE bool | await_ready () noexcept |
template<typename Promise > | |
YACLIB_INLINE bool | await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept |
constexpr void | await_resume () noexcept |
Protected Attributes | |
M & | _mutex |
Definition at line 11 of file mutex_awaiter.hpp.
|
inlineexplicitnoexcept |
Definition at line 13 of file mutex_awaiter.hpp.
|
inlinenoexcept |
Definition at line 16 of file mutex_awaiter.hpp.
|
inlineconstexprnoexcept |
Definition at line 33 of file mutex_awaiter.hpp.
|
inlinenoexcept |
Definition at line 25 of file mutex_awaiter.hpp.
|
protected |
Definition at line 37 of file mutex_awaiter.hpp.