|
uvco 0.1
|
#include <combinators.h>
Classes | |
| struct | WaitPointAwaiter_ |
Public Member Functions | |
| WaitPoint ()=default | |
| WaitPoint (const WaitPoint &)=delete | |
| WaitPoint (WaitPoint &&) noexcept=default | |
| WaitPoint & | operator= (const WaitPoint &)=delete |
| WaitPoint & | operator= (WaitPoint &&) noexcept=default |
| ~WaitPoint ()=default | |
| size_t | waiting () const |
| Promise< void > | wait () |
| void | releaseOne () |
| void | releaseAll () |
Private Member Functions | |
| void | enqueue (std::coroutine_handle<> handle) |
Private Attributes | |
| std::deque< std::coroutine_handle<> > | waiters_ |
Allows an arbitrary number of coroutines to wait on another coroutine to fulfill it.
|
default |
|
delete |
|
defaultnoexcept |
|
default |
|
private |
| void uvco::WaitPoint::releaseAll | ( | ) |
| void uvco::WaitPoint::releaseOne | ( | ) |
| Promise< void > uvco::WaitPoint::wait | ( | ) |
|
inlinenodiscard |
|
private |