Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 08:31:16 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Doug Rabson <dfr@nlsystems.com>, current@FreeBSD.ORG
Subject:   Re: [PATCH: libc]Re: gnome on current
Message-ID:  <Pine.GSO.4.10.10210300827570.16861-100000@pcnet1.pcnet.com>
In-Reply-To: <3DBFB627.6BD0B926@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Oct 2002, Terry Lambert wrote:

> Doug Rabson wrote:
> > > > All you have to do is create a situation where a shared object that links
> > > > to libc_r is loaded after libX11 and the thing breaks into little pieces.
> > >
> > > So let's dike out libXThrStub.so, and be done with it.
> > 
> > I think the only stub which it defines that libc.so doesn't also define is
> > pthread_cond_broadcast. I'm waiting to see if that lack causes any
> > noticeable problems.
> 
> That's bizarre... it's defined in libc_r, so there's no reason for
> the omission in libc.

I only added stubs that I thought the implementation of libc used
(or would use).

> Please find attached a patch that corrects this.

Patch looks correct.

> PS: It looks like the semaphore code use pthread_cond_signal; maybe it
> should be using the pthread_cond_broadcast, instead?  This seeems to
> be broken, if we are talking a large vs. small count on the semaphore...

Semaphores only increment/decrement the semaphore by 1.

-- 
Dan Eischen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.10210300827570.16861-100000>