On Wed, 6 Mar 2002, Martin Blapp wrote:
> 
> Hi,
> 
> > This loop is correct, like I've said twice before.
> > Did you even try the patch I sent you to uthread_detach.c?
> 
> I've not recieved any patch.

Here it is again:

Index: uthread/uthread_detach.c
===================================================================
RCS file: /opt/d/CVS/src/lib/libc_r/uthread/uthread_detach.c,v
retrieving revision 1.16
diff -u -r1.16 uthread_detach.c
--- uthread/uthread_detach.c    20 May 2001 23:08:32 -0000      1.16
+++ uthread/uthread_detach.c    27 Feb 2002 04:57:39 -0000
@@ -67,6 +67,8 @@
 
                        /* Set the return value for the woken thread: */
                        joiner->error = ESRCH;
+                       pthread->join_status.error = 0;
+                       pthread->join_status.thread = NULL;
 
                        /*
                         * Disconnect the joiner from the thread being  detached:


-- 
Dan Eischen


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to