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

#include <mutex.hpp>

Public Member Functions

 UnlockOnAwaiter (M &m, IExecutor &e) noexcept
 
constexpr 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::UnlockOnAwaiter< M >

Definition at line 166 of file mutex.hpp.

Constructor & Destructor Documentation

◆ UnlockOnAwaiter()

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

Definition at line 168 of file mutex.hpp.

Member Function Documentation

◆ await_ready()

template<typename M >
constexpr bool yaclib::detail::UnlockOnAwaiter< M >::await_ready ( )
inlineconstexprnoexcept

Definition at line 171 of file mutex.hpp.

◆ await_resume()

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

Definition at line 180 of file mutex.hpp.

◆ await_suspend()

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

Definition at line 176 of file mutex.hpp.


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