|
ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
|
#include <coroutine.h>
Public Types | |
| using | handle_type = coroutine_handle< resumable_task_state > |
Public Member Functions | |
| resumable_task_state () noexcept=default | |
| resumable_task_state (const resumable_task_state &)=delete | |
| resumable_task_state & | operator= (const resumable_task_state &)=delete |
| resumable_task_state (resumable_task_state &&)=delete | |
| resumable_task_state & | operator= (resumable_task_state &&)=delete |
| constexpr bool | ready () const |
| constexpr bool | completed () const |
| ttg::span< event * > | events () |
members mandated by the promise_type concept | |
| resumable_task | get_return_object () |
| suspend_never | initial_suspend () noexcept |
| suspend_always | final_suspend () noexcept |
| void | return_void () |
| void | unhandled_exception () |
Static Public Attributes | |
| static constexpr std::size_t | MaxNumEvents = 20 |
Friends | |
| template<std::size_t N> | |
| struct | resumable_task_events |
encapsulates the state of the coroutine object visible to the outside world
promise_type for resumable_task coroutine Definition at line 80 of file coroutine.h.
Definition at line 89 of file coroutine.h.
|
defaultnoexcept |
|
delete |
|
delete |
|
inlineconstexpr |
Definition at line 135 of file coroutine.h.
|
inline |
Definition at line 137 of file coroutine.h.
|
inlinenoexcept |
Definition at line 100 of file coroutine.h.
|
inline |
Definition at line 94 of file coroutine.h.
|
inlinenoexcept |
Definition at line 97 of file coroutine.h.
|
delete |
|
delete |
|
inlineconstexpr |
Definition at line 128 of file coroutine.h.
|
inline |
Definition at line 104 of file coroutine.h.
|
inline |
Definition at line 105 of file coroutine.h.
|
friend |
Definition at line 145 of file coroutine.h.
|
inlinestaticconstexpr |
Definition at line 88 of file coroutine.h.
1.9.8