[Bug c++/13684] local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads
adah at netstd dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 31 06:41:00 GMT 2004
------- Additional Comments From adah at netstd dot com 2004-08-31 06:41 -------
It looks to me that the solution applies the Double-Checked Locking Pattern,
and could be unsafe on some multi-processor platforms, most notably Alpha and
IA-64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13684
More information about the Gcc-bugs
mailing list