coroutine.h
Go to the documentation of this file.
111 // these can be used to use optional storage provided by the runtime (e.g. part of the runtime's task data struct)
resumable_task_events(Events &&...) -> resumable_task_events< sizeof...(Events)>
TTG_CXX_COROUTINE_NAMESPACE::suspend_always suspend_always
Definition: coroutine.h:21
TTG_CXX_COROUTINE_NAMESPACE::suspend_never suspend_never
Definition: coroutine.h:22
TTG_CXX_COROUTINE_NAMESPACE::coroutine_handle< Promise > coroutine_handle
Definition: coroutine.h:24
Definition: coroutine.h:168
constexpr bool await_ready() const
Definition: coroutine.h:182
constexpr resumable_task_events(Events &&... events)
Definition: coroutine.h:177
void await_suspend(coroutine_handle< resumable_task_state > pending_task)
Definition: coroutine.h:184
Definition: coroutine.h:79
resumable_task get_return_object()
Definition: coroutine.h:93
resumable_task_state() noexcept=default
suspend_always final_suspend() noexcept
Definition: coroutine.h:99
suspend_never initial_suspend() noexcept
Definition: coroutine.h:96
constexpr static std::size_t MaxNumEvents
Definition: coroutine.h:87
coroutine_handle< resumable_task_state > handle_type
Definition: coroutine.h:88
ttg::coroutine_handle< resumable_task_state > base_type
Definition: coroutine.h:54