How EGCS with multi-threaded compliance?

Nathan Myers ncm@cygnus.com
Mon Apr 13 20:27:00 GMT 1998


David Lucas <dlucas@checkfree.com>
> Just an observastion, but some compilers do not even guarentee that
> init_lock will be initialized before the use of f_initialize_a, thus a
> possible uninitialized Mutex object.

On any Real System, the mutex object is correctly initialized
by the runtime loader before any static constructors are run.
That is, the zero value is a valid, unlocked mutex.  

Code that runs on losing systems is less efficient.  But isn't
that a tautology?  

Nathan Myers
ncm@cantrip.org  http://www.cantrip.org/




More information about the Gcc mailing list