From beae8419dd334a658e0965593b04124d7a550afa Mon Sep 17 00:00:00 2001 From: jb Date: Fri, 15 Jan 1999 00:21:03 +0000 Subject: 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 OpenBSD --- lib/libpthread/thread/thr_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread/thread/thr_private.h') diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index e73f4f1..2d7e723 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_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; -- cgit v1.1