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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to