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