YACLib
C++ library for concurrent tasks execution
|
#include <guard_sticky.hpp>
Public Member Functions | |
LockStickyAwaiter (M &m, IExecutor *&e) 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 |
IExecutor *& | _executor |
Definition at line 12 of file guard_sticky.hpp.
|
inlineexplicitnoexcept |
Definition at line 14 of file guard_sticky.hpp.
|
inlinenoexcept |
Definition at line 17 of file guard_sticky.hpp.
|
inlineconstexprnoexcept |
Definition at line 33 of file guard_sticky.hpp.
|
inlinenoexcept |
Definition at line 23 of file guard_sticky.hpp.
|
protected |
Definition at line 38 of file guard_sticky.hpp.
Referenced by yaclib::detail::GuardStickyAwaiter< M >::await_ready(), and yaclib::detail::GuardStickyAwaiter< M >::await_suspend().
|
protected |
Definition at line 37 of file guard_sticky.hpp.