This commit is contained in:
Markus Armbruster 2005-12-05 22:28:52 +00:00
parent 320322cda9
commit 5a248c0d4e

View file

@ -24,9 +24,9 @@
#define _LWP_H_ #define _LWP_H_
#ifdef UCONTEXT #ifdef UCONTEXT
#include <ucontext.h> #include <ucontext.h>
#else /* UCONTEXT */ #else /* !UCONTEXT */
#include <setjmp.h> #include <setjmp.h>
#endif /* UCONTEXT */ #endif /* !UCONTEXT */
#include <sys/time.h> #include <sys/time.h>
#include "misc.h" #include "misc.h"
#define LWP_STACKCHECK 0x1 #define LWP_STACKCHECK 0x1
@ -36,9 +36,9 @@
struct lwpProc { struct lwpProc {
#ifdef UCONTEXT #ifdef UCONTEXT
ucontext_t context; /* context structure */ ucontext_t context; /* context structure */
#else /* UCONTEXT */ #else /* !UCONTEXT */
jmp_buf context; /* processor context area */ jmp_buf context; /* processor context area */
#endif /* UCONTEXT */ #endif /* !UCONTEXT */
void *sbtm; /* bottom of stack attached to it */ void *sbtm; /* bottom of stack attached to it */
int size; /* size of stack */ int size; /* size of stack */
void (*entry)(void *); /* entry point */ void (*entry)(void *); /* entry point */