This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13487] Construction of local static objects is not thread-safe


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-03 19:44 -------
because the initializers are done when the module is loaded so if you are loading shared library using 
dlopen in two different threads this can be not thread-safe but if you did not load them lazy aka not 
use dlopen there is no problem at all.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-03 19:44:55
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13487


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]