Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 10:18:37 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        Martin Blapp <mb@imp.ch>
Cc:        hackers@FreeBSD.ORG, rittle@labs.mot.com, alfred@FreeBSD.ORG
Subject:   Re: Sun idlc broken with our libc_r [Please help]
Message-ID:  <Pine.GSO.4.10.10203061017540.11741-100000@pcnet1.pcnet.com>
In-Reply-To: <20020306145012.T56721-100000@levais.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10203061017540.11741-100000>