#include <SuspendedDelegate.hpp>
Public Member Functions | |
SuspendedDelegate () | |
template<typename F > | |
void | setup (F func) |
Public Member Functions inherited from Grappa::Worker | |
Worker () | |
intptr_t | stack_remaining () |
void | prefetch () |
prefetch the Worker execution state More... | |
Static Public Member Functions | |
template<typename F > | |
static SuspendedDelegate * | create (F f) |
Friends | |
template<typename F > | |
SuspendedDelegate * | new_suspended_delegate (F) |
void | invoke (SuspendedDelegate *) |
Additional Inherited Members | |
Public Attributes inherited from Grappa::Worker | |
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 |
Definition at line 36 of file SuspendedDelegate.hpp.
|
inline |
Definition at line 45 of file SuspendedDelegate.hpp.
|
static |
Definition at line 72 of file SuspendedDelegate.hpp.
|
inline |
Definition at line 54 of file SuspendedDelegate.hpp.
|
friend |
Definition at line 85 of file SuspendedDelegate.hpp.
|
friend |