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:
parent
3f0c2c8990
commit
beae8419dd
@ -447,7 +447,7 @@ struct pthread {
|
||||
int signo;
|
||||
|
||||
/* Miscellaneous data. */
|
||||
char flags;
|
||||
int flags;
|
||||
#define PTHREAD_EXITING 0x0100
|
||||
char pthread_priority;
|
||||
void *ret;
|
||||
|
@ -447,7 +447,7 @@ struct pthread {
|
||||
int signo;
|
||||
|
||||
/* Miscellaneous data. */
|
||||
char flags;
|
||||
int flags;
|
||||
#define PTHREAD_EXITING 0x0100
|
||||
char pthread_priority;
|
||||
void *ret;
|
||||
|
@ -447,7 +447,7 @@ struct pthread {
|
||||
int signo;
|
||||
|
||||
/* Miscellaneous data. */
|
||||
char flags;
|
||||
int flags;
|
||||
#define PTHREAD_EXITING 0x0100
|
||||
char pthread_priority;
|
||||
void *ret;
|
||||
|
Loading…
Reference in New Issue
Block a user