Remove the ancient, crufty non-UCONTEXT system-dependent LWP code.
Using it required manual hackery since 4.3.0, and it hasn't been missed.
This commit is contained in:
parent
015d8d933b
commit
62c8eea544
7 changed files with 5 additions and 589 deletions
|
@ -36,21 +36,13 @@
|
|||
#define LWPINT_H
|
||||
|
||||
#include <signal.h>
|
||||
#ifdef UCONTEXT
|
||||
#include <ucontext.h>
|
||||
#else /* !UCONTEXT */
|
||||
#include <setjmp.h>
|
||||
#endif /* !UCONTEXT */
|
||||
|
||||
#include "misc.h"
|
||||
|
||||
/* process control block. do *not* change the position of context */
|
||||
struct lwpProc {
|
||||
#ifdef UCONTEXT
|
||||
ucontext_t context; /* context structure */
|
||||
#else /* !UCONTEXT */
|
||||
jmp_buf context; /* processor context area */
|
||||
#endif /* !UCONTEXT */
|
||||
void *sbtm; /* stack buffer attached to it */
|
||||
int size; /* size of stack buffer */
|
||||
char *ustack; /* lowest usable stack address */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue