From owner-freebsd-hackers  Wed Mar  6  5: 5:36 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 5398837B405; Wed,  6 Mar 2002 05:05:32 -0800 (PST)
Received: from localhost (eischen@localhost)
	by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g26D5UcD025543;
	Wed, 6 Mar 2002 08:05:30 -0500 (EST)
Date: Wed, 6 Mar 2002 08:05:30 -0500 (EST)
From: Daniel Eischen <eischen@pcnet1.pcnet.com>
To: Martin Blapp <mb@imp.ch>
Cc: deischen@freebsd.org, rittle@labs.mot.com, alfred@freebsd.org,
	hackers@freebsd.org
Subject: Re: Sun idlc broken with our libc_r [Please help]
In-Reply-To: <20020306114738.V56721-100000@levais.imp.ch>
Message-ID: <Pine.GSO.4.10.10203060803470.25312-100000@pcnet1.pcnet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-hackers.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-hackers>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-hackers>
X-Loop: FreeBSD.ORG

On Wed, 6 Mar 2002, Martin Blapp wrote:
> Hi all,
> 
> Rev. 1.20 of src/lib/libc_r/uthread/uthread_join.c still breaks
> Openoffice build.
> 
> During the build, the idl compiler from sun just hangs, and stays
> there in the endless loop.
> 
> +               while (_thread_run->join_status.thread == pthread) {
> +                       /* Schedule the next thread: */
> +                       _thread_kern_sched_state(PS_JOIN, __FILE__, __LINE__);
> +               }

This loop is correct, like I've said twice before.

> The same idlc code works fine in Solaris, Linux, and NetBSD (they do
> not have threads).
> 
> So it is definitly a FreeBSD libc_r bug.

Did you even try the patch I sent you to uthread_detach.c?

-- 
Dan Eischen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message