StuBS
|
Functionality required for context switching. More...
#include "types.h"
Classes | |
struct | Context |
Structure for saving the CPU context when switching coroutines. More... | |
Functions | |
void | prepareContext (void *tos, Context &context, void(*kickoff)(void *), void *param1=nullptr) |
Prepares a context for its first activation. More... | |
void | context_switch (Context *current, Context *next) |
Executes the context switch. More... | |
void | context_launch (Context *next) |
Launch context switching. More... | |
Functionality required for context switching.