#include <array>
#include <cerrno>
#include <cstdarg>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <new>
#include <emscripten/fiber.h>
#include <ucontext.h>
|
| int | getcontext (ucontext_t *context) |
| |
| void | makecontext (ucontext_t *context, void(*function)(), int argc,...) |
| |
| int | swapcontext (ucontext_t *old_context, const ucontext_t *new_context) |
| |
| int | setcontext (const ucontext_t *context) |
| |
◆ getcontext()
| int getcontext |
( |
ucontext_t * |
context | ) |
|
◆ makecontext()
| void makecontext |
( |
ucontext_t * |
context, |
|
|
void(*)() |
function, |
|
|
int |
argc, |
|
|
|
... |
|
) |
| |
◆ setcontext()
| int setcontext |
( |
const ucontext_t * |
context | ) |
|
◆ swapcontext()
| int swapcontext |
( |
ucontext_t * |
old_context, |
|
|
const ucontext_t * |
new_context |
|
) |
| |