FreeBSD Bugzilla – Attachment 21460 Details for
Bug 37614
libc_r aborts when exiting thread is canceled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 742 bytes, created by
Archie Cobbs
on 2002-04-30 23:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Archie Cobbs
Created:
2002-04-30 23:20:01 UTC
Size:
742 bytes
patch
obsolete
>Index: uthread_cancel.c >=================================================================== >RCS file: /home/cvs/freebsd/src/lib/libc_r/uthread/uthread_cancel.c,v >retrieving revision 1.3.2.4 >diff -u -r1.3.2.4 uthread_cancel.c >--- uthread_cancel.c 19 Aug 2001 11:45:58 -0000 1.3.2.4 >+++ uthread_cancel.c 30 Apr 2002 22:13:44 -0000 >@@ -186,7 +186,8 @@ > pthread_testcancel(void) > { > if (((_thread_run->cancelflags & PTHREAD_CANCEL_DISABLE) == 0) && >- ((_thread_run->cancelflags & PTHREAD_CANCELLING) != 0)) { >+ ((_thread_run->cancelflags & PTHREAD_CANCELLING) != 0) && >+ ((_thread_run->flags & PTHREAD_EXITING) != 0)) { > /* > * It is possible for this thread to be swapped out > * while performing cancellation; do not allow it
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37614
: 21460