Worker/coroutine. More...
#include <Worker.hpp>
Public Member Functions | |
Worker () | |
intptr_t | stack_remaining () |
void | prefetch () |
prefetch the Worker execution state More... | |
Public Attributes | |
void * | stack |
Worker * | next |
union { | |
struct { | |
int running: 1 | |
int suspended: 1 | |
int idle: 1 | |
} | |
int8_t run_state_raw_ | |
}; | |
Scheduler * | sched |
bool | done |
void * | base |
size_t | ssize |
threadid_t | id |
Worker * | tracking_prev |
Worker * | tracking_next |
Worker/coroutine.
Definition at line 72 of file Worker.hpp.
|
inline |
Definition at line 77 of file Worker.hpp.
|
inline |
prefetch the Worker execution state
Definition at line 146 of file Worker.hpp.
|
inline |
Definition at line 131 of file Worker.hpp.
union { ... } |
void* Grappa::Worker::base |
Definition at line 106 of file Worker.hpp.
bool Grappa::Worker::done |
Definition at line 102 of file Worker.hpp.
threadid_t Grappa::Worker::id |
Definition at line 109 of file Worker.hpp.
int Grappa::Worker::idle |
Definition at line 95 of file Worker.hpp.
Worker* Grappa::Worker::next |
Definition at line 86 of file Worker.hpp.
int8_t Grappa::Worker::run_state_raw_ |
Definition at line 97 of file Worker.hpp.
int Grappa::Worker::running |
Definition at line 93 of file Worker.hpp.
Scheduler* Grappa::Worker::sched |
Definition at line 101 of file Worker.hpp.
size_t Grappa::Worker::ssize |
Definition at line 108 of file Worker.hpp.
void* Grappa::Worker::stack |
Definition at line 82 of file Worker.hpp.
int Grappa::Worker::suspended |
Definition at line 94 of file Worker.hpp.
Worker* Grappa::Worker::tracking_next |
Definition at line 123 of file Worker.hpp.
Worker* Grappa::Worker::tracking_prev |
Definition at line 122 of file Worker.hpp.