#include <coroutine.h>
Public Member Functions | |
Routine (std::function< void()> f) | |
~Routine () | |
Public Attributes | |
ucontext_t | ctx |
bool | finished |
std::function< void()> | func |
char * | stack |
Definition at line 232 of file coroutine.h.
coroutine::Routine::Routine | ( | std::function< void()> | f | ) | [inline] |
Definition at line 239 of file coroutine.h.
coroutine::Routine::~Routine | ( | ) | [inline] |
Definition at line 246 of file coroutine.h.
ucontext_t coroutine::Routine::ctx |
Definition at line 237 of file coroutine.h.
Definition at line 236 of file coroutine.h.
std::function<void()> coroutine::Routine::func |
Definition at line 234 of file coroutine.h.
Definition at line 235 of file coroutine.h.