PERFORCE change 67983 for review
David Xu
davidxu at FreeBSD.org
Fri Dec 31 07:02:15 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=67983
Change 67983 by davidxu at davidxu_tiger on 2004/12/31 15:01:35
use right field.
Affected files ...
.. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_exit.c#4 edit
Differences ...
==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_exit.c#4 (text+ko) ====
@@ -89,7 +89,7 @@
struct pthread *joiner;
/* Check if this thread is already in the process of exiting: */
- if ((curthread->flags & THR_CANCEL_EXITING) != 0) {
+ if ((curthread->cancelflags & THR_CANCEL_EXITING) != 0) {
char msg[128];
snprintf(msg, sizeof(msg), "Thread %p has called "
"pthread_exit() from a destructor. POSIX 1003.1 "
More information about the p4-projects
mailing list