Increase the size of private thread flags so that the test for a

thread trying to call pthread_exit() from a cleanup handler actually
works.

Submitted by: David Leonard <david.leonard@csee.uq.edu.au> OpenBSD
This commit is contained in:
jb 1999-01-15 00:21:03 +00:00
parent 3f0c2c8990
commit beae8419dd
3 changed files with 3 additions and 3 deletions

View File

@ -447,7 +447,7 @@ struct pthread {
int signo;
/* Miscellaneous data. */
char flags;
int flags;
#define PTHREAD_EXITING 0x0100
char pthread_priority;
void *ret;

View File

@ -447,7 +447,7 @@ struct pthread {
int signo;
/* Miscellaneous data. */
char flags;
int flags;
#define PTHREAD_EXITING 0x0100
char pthread_priority;
void *ret;

View File

@ -447,7 +447,7 @@ struct pthread {
int signo;
/* Miscellaneous data. */
char flags;
int flags;
#define PTHREAD_EXITING 0x0100
char pthread_priority;
void *ret;