Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::async::AsyncSemaphore::AcquireAwaiter Struct Reference

Awaiter for acquiring a permit asynchronously. More...

#include <Semaphore.hpp>

+ Collaboration diagram for corium::async::AsyncSemaphore::AcquireAwaiter:

Public Member Functions

bool await_ready () const noexcept
 
constexpr void await_resume () const noexcept
 
bool await_suspend (std::coroutine_handle<> h) noexcept
 

Public Attributes

AsyncSemaphoresem
 

Detailed Description

Awaiter for acquiring a permit asynchronously.

Member Function Documentation

◆ await_ready()

bool corium::async::AsyncSemaphore::AcquireAwaiter::await_ready ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ await_resume()

constexpr void corium::async::AsyncSemaphore::AcquireAwaiter::await_resume ( ) const
inlineconstexprnoexcept

◆ await_suspend()

bool corium::async::AsyncSemaphore::AcquireAwaiter::await_suspend ( std::coroutine_handle<>  h)
inlinenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ sem

AsyncSemaphore& corium::async::AsyncSemaphore::AcquireAwaiter::sem

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