|
Coda Distributed File System
|
#include <sys/types.h>#include <stdlib.h>#include <assert.h>#include <stdarg.h>#include <string.h>#include <unistd.h>#include "lwp_ucontext.h"
Classes | |
| struct | lwp_context |
Macros | |
| #define | _FORTIFY_SOURCE 0 |
| #define | STACK_PAD 64 |
Functions | |
| int | savecontext (void(*f)(int), struct lwp_context *ctx, char *stack) |
| int | returnto (struct lwp_context *ctx) |
| int | lwp_setcontext (const struct lwp_ucontext *ucp) |
| int | lwp_swapcontext (struct lwp_ucontext *oucp, const struct lwp_ucontext *ucp) |
| void | lwp_makecontext (struct lwp_ucontext *ucp, void(*func)(void *), void *arg) |
| #define _FORTIFY_SOURCE 0 |
| #define STACK_PAD 64 |
| void lwp_makecontext | ( | struct lwp_ucontext * | ucp, |
| void(*)(void *) | func, | ||
| void * | arg | ||
| ) |
| int lwp_setcontext | ( | const struct lwp_ucontext * | ucp | ) |
| int lwp_swapcontext | ( | struct lwp_ucontext * | oucp, |
| const struct lwp_ucontext * | ucp | ||
| ) |
| int returnto | ( | struct lwp_context * | ctx | ) |
| int savecontext | ( | void(*)(int) | f, |
| struct lwp_context * | ctx, | ||
| char * | stack | ||
| ) |