#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.
|
inline |
Definition at line 239 of file coroutine.h.
|
inline |
Definition at line 246 of file coroutine.h.
ucontext_t coroutine::Routine::ctx |
Definition at line 237 of file coroutine.h.
bool coroutine::Routine::finished |
Definition at line 236 of file coroutine.h.
std::function<void()> coroutine::Routine::func |
Definition at line 234 of file coroutine.h.
char* coroutine::Routine::stack |
Definition at line 235 of file coroutine.h.