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

task that can be resumed after some events occur More...

#include <coroutine.h>

Inherits ttg::coroutine_handle< resumable_task_state >.

Public Types

using base_type = ttg::coroutine_handle< resumable_task_state >
 
members mandated by the promise_type concept
using promise_type = resumable_task_state
 

Public Member Functions

 resumable_task (base_type base)
 
base_type handle ()
 
bool ready () const
 
bool completed () const
 
ttg::span< event * > events ()
 

Detailed Description

task that can be resumed after some events occur

Definition at line 54 of file coroutine.h.

Member Typedef Documentation

◆ base_type

Definition at line 55 of file coroutine.h.

◆ promise_type

Definition at line 60 of file coroutine.h.

Constructor & Destructor Documentation

◆ resumable_task()

ttg::resumable_task::resumable_task ( base_type  base)
inline

Definition at line 64 of file coroutine.h.

Member Function Documentation

◆ handle()

base_type ttg::resumable_task::handle ( )
inline

Definition at line 66 of file coroutine.h.


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