ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ttg::resumable_task_events< N > Struct Template Reference

#include <coroutine.h>

Public Member Functions

template<typename... Events>
constexpr resumable_task_events (Events &&... events)
 
members mandated by the Awaiter concept
constexpr bool await_ready () const
 
void await_suspend (coroutine_handle< resumable_task_state > pending_task)
 
void await_resume ()
 

Detailed Description

template<std::size_t N>
struct ttg::resumable_task_events< N >

statically-sized sequence of events on whose completion progress of a given task depends on

Note
this is the Awaiter for resumable_task coroutine (the concept is not defined in the standard, see https://lewissbaker.github.io/2017/11/17/understanding-operator-co-await instead )

Definition at line 169 of file coroutine.h.

Constructor & Destructor Documentation

◆ resumable_task_events()

template<std::size_t N>
template<typename... Events>
constexpr ttg::resumable_task_events< N >::resumable_task_events ( Events &&...  events)
inlineconstexpr

Definition at line 178 of file coroutine.h.

Member Function Documentation

◆ await_ready()

template<std::size_t N>
constexpr bool ttg::resumable_task_events< N >::await_ready ( ) const
inlineconstexpr

Definition at line 183 of file coroutine.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ await_resume()

template<std::size_t N>
void ttg::resumable_task_events< N >::await_resume ( )
inline

Definition at line 190 of file coroutine.h.

◆ await_suspend()

template<std::size_t N>
void ttg::resumable_task_events< N >::await_suspend ( coroutine_handle< resumable_task_state pending_task)
inline

Definition at line 185 of file coroutine.h.


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