Functionality required for context switching. More...
#include "types.h"Classes | |
| struct | StackPointer |
| Structure for saving the stack pointer when switching coroutines. More... | |
Functions | |
| void * | prepareContext (void *tos, void(*kickoff)(void *), void *param1=nullptr) |
| Prepares a context for its first activation. More... | |
| void | context_switch (StackPointer ¤t, StackPointer &next) |
| Executes the context switch. More... | |
Functionality required for context switching.