From owner-freebsd-hackers Wed Mar 6 7:18:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 8259137B404; Wed, 6 Mar 2002 07:18:38 -0800 (PST) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g26FIbmX011951; Wed, 6 Mar 2002 10:18:37 -0500 (EST) Date: Wed, 6 Mar 2002 10:18:37 -0500 (EST) From: Daniel Eischen To: Martin Blapp Cc: hackers@FreeBSD.ORG, rittle@labs.mot.com, alfred@FreeBSD.ORG Subject: Re: Sun idlc broken with our libc_r [Please help] In-Reply-To: <20020306145012.T56721-100000@levais.imp.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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