On Wed, 6 Mar 2002, Martin Blapp wrote:
>
> Hi Daniel,
>
> Unfortunatly the patch doesn't work ...
Try adding this patch also (keep other patch in):
Index: uthread_cancel.c
===================================================================
RCS file: /opt/d/CVS/src/lib/libc_r/uthread/uthread_cancel.c,v
retrieving revision 1.11
diff -u -r1.11 uthread_cancel.c
--- uthread_cancel.c 16 Dec 2001 13:26:44 -0000 1.11
+++ uthread_cancel.c 6 Mar 2002 16:57:18 -0000
@@ -70,6 +70,9 @@
if (pthread->join_status.thread != NULL) {
pthread->join_status.thread->joiner
= NULL;
+ pthread->join_status.thread = NULL;
+ pthread->join_status.ret = NULL;
+ pthread->join_status.error = 0;
}
pthread->cancelflags |= PTHREAD_CANCELLING;
PTHREAD_NEW_STATE(pthread, PS_RUNNING);
--
Dan Eischen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message