Re: New nvidia drivers available

From: Justin T. Gibbs <gibbs_at_scsiguy.com>
Date: Sun, 15 Aug 2004 09:00:56 -0600
>> Is there something else we can do so that libpthread gets
>> initialized first?  Use _init()?  I'm not sure how to
>> not add that when building static libpthread though (let's
>> kill static libpthread!).
> 
> There is no way other than putting a special case for pthread 
> initialisation into rtld. The C++ constructor trick is implemented via 
> _init anyway so that won't work either. 

I thought that static constructor invocation was deterministic based
on link order.  Does the C++ spec really indicate that the order of
construction can be random?

--
Justin
Received on Sun Aug 15 2004 - 13:01:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC