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