diff options
author | jb <jb@FreeBSD.org> | 1999-01-15 00:21:03 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1999-01-15 00:21:03 +0000 |
commit | beae8419dd334a658e0965593b04124d7a550afa (patch) | |
tree | 95b2d168aa08d369c11ed64308f5f09168308651 /lib/libc_r | |
parent | 3f0c2c8990f02cfb87d1094fcac2eda48facdb3f (diff) | |
download | FreeBSD-src-beae8419dd334a658e0965593b04124d7a550afa.zip FreeBSD-src-beae8419dd334a658e0965593b04124d7a550afa.tar.gz |
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
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/pthread_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h index e73f4f1..2d7e723 100644 --- a/lib/libc_r/uthread/pthread_private.h +++ b/lib/libc_r/uthread/pthread_private.h @@ -447,7 +447,7 @@ struct pthread { int signo; /* Miscellaneous data. */ - char flags; + int flags; #define PTHREAD_EXITING 0x0100 char pthread_priority; void *ret; |