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 61 of file Worker.hpp.
|
inline |
Definition at line 66 of file Worker.hpp.
|
inline |
prefetch the Worker execution state
Definition at line 135 of file Worker.hpp.
|
inline |
Definition at line 120 of file Worker.hpp.
union { ... } |
void* Grappa::Worker::base |
Definition at line 95 of file Worker.hpp.
bool Grappa::Worker::done |
Definition at line 91 of file Worker.hpp.
threadid_t Grappa::Worker::id |
Definition at line 98 of file Worker.hpp.
int Grappa::Worker::idle |
Definition at line 84 of file Worker.hpp.
Worker* Grappa::Worker::next |
Definition at line 75 of file Worker.hpp.
int8_t Grappa::Worker::run_state_raw_ |
Definition at line 86 of file Worker.hpp.
int Grappa::Worker::running |
Definition at line 82 of file Worker.hpp.
Scheduler* Grappa::Worker::sched |
Definition at line 90 of file Worker.hpp.
size_t Grappa::Worker::ssize |
Definition at line 97 of file Worker.hpp.
void* Grappa::Worker::stack |
Definition at line 71 of file Worker.hpp.
int Grappa::Worker::suspended |
Definition at line 83 of file Worker.hpp.
Worker* Grappa::Worker::tracking_next |
Definition at line 112 of file Worker.hpp.
Worker* Grappa::Worker::tracking_prev |
Definition at line 111 of file Worker.hpp.