YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::UnlockStickyAwaiter< M > Class Template Reference

#include <guard_sticky.hpp>

Public Member Functions

 UnlockStickyAwaiter (M &m, IExecutor *e) noexcept
 
YACLIB_INLINE bool await_ready () noexcept
 
template<typename Promise >
YACLIB_INLINE auto await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
constexpr void await_resume () noexcept
 

Detailed Description

template<typename M>
class yaclib::detail::UnlockStickyAwaiter< M >

Definition at line 42 of file guard_sticky.hpp.

Constructor & Destructor Documentation

◆ UnlockStickyAwaiter()

template<typename M >
yaclib::detail::UnlockStickyAwaiter< M >::UnlockStickyAwaiter ( M m,
IExecutor e 
)
inlineexplicitnoexcept

Definition at line 44 of file guard_sticky.hpp.

Member Function Documentation

◆ await_ready()

template<typename M >
YACLIB_INLINE bool yaclib::detail::UnlockStickyAwaiter< M >::await_ready ( )
inlinenoexcept

Definition at line 47 of file guard_sticky.hpp.

◆ await_resume()

template<typename M >
constexpr void yaclib::detail::UnlockStickyAwaiter< M >::await_resume ( )
inlineconstexprnoexcept

Definition at line 61 of file guard_sticky.hpp.

◆ await_suspend()

template<typename M >
template<typename Promise >
YACLIB_INLINE auto yaclib::detail::UnlockStickyAwaiter< M >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

Definition at line 56 of file guard_sticky.hpp.

References YACLIB_ASSERT.


The documentation for this class was generated from the following file: