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

#include <mutex_awaiter.hpp>

Inheritance diagram for yaclib::detail::GuardAwaiter< Guard, M, Shared >:
[legend]
Collaboration diagram for yaclib::detail::GuardAwaiter< Guard, M, Shared >:
[legend]

Public Member Functions

YACLIB_INLINE auto await_resume () noexcept
 
- Public Member Functions inherited from yaclib::detail::LockAwaiter< M, Shared >
 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
 

Additional Inherited Members

- Protected Attributes inherited from yaclib::detail::LockAwaiter< M, Shared >
M_mutex
 

Detailed Description

template<template< typename > typename Guard, typename M, bool Shared = false>
class yaclib::detail::GuardAwaiter< Guard, M, Shared >

Definition at line 41 of file mutex_awaiter.hpp.

Member Function Documentation

◆ await_resume()

template<template< typename > typename Guard, typename M , bool Shared = false>
YACLIB_INLINE auto yaclib::detail::GuardAwaiter< Guard, M, Shared >::await_resume ( )
inlinenoexcept

Definition at line 45 of file mutex_awaiter.hpp.


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