How EGCS with multi-threaded compliance?

John Carr jfc@mit.edu
Sat Apr 11 04:07:00 GMT 1998


> The constructor for 'a' is supposed to run the first time you enter f().
> This requires a lock (or good luck) in MT code.  Does egcs (or any compiler) 
> generate such a lock?  

Recent Digital UNIX C++ compilers generate thread-safe calls to constructors.




More information about the Gcc mailing list