From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Carr To: Nathan Myers Cc: egcs@cygnus.com Subject: Re: How EGCS with multi-threaded compliance? Date: Sat, 11 Apr 1998 04:07:00 -0000 Message-id: <199804111107.HAA24413@jfc.> References: <352ECFB1.1E5F8442@cygnus.com> X-SW-Source: 1998-04/msg00470.html > 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.