bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current CVS libpthread makes trivial programs linked to it hang


From: Samuel Thibault
Subject: Re: current CVS libpthread makes trivial programs linked to it hang
Date: Sat, 27 Sep 2008 18:01:49 +0200
User-agent: Mutt/1.5.12-2006-07-14

Neal H. Walfield, le Sat 27 Sep 2008 09:15:25 +0200, a écrit :
> At Sat, 27 Sep 2008 00:55:31 +0200,
> Samuel Thibault wrote:
> > There seems to be at least two issues:
> > 
> > if (_pthread_self ())
> > 
> > doesn't actually make sense since _pthread_self() already asserts(self),
> > so the assertion will be triggered inside it.
> 
> This is true for the Hurd on Mach implementation of _pthread_self,
> however, this is not the case for the Viengoos implementation.

Err, ok but then on Mach any program will fail at startup, when the
main thread doesn't have a _pthread_self(). Maybe we could add a
_pthread_self_unsafe() or so.

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]