[Bug c++/89899] g++ compiler error report
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 1 07:11:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89899
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need to use locks or atomics to get correct behavior across threads.
See https://en.wikipedia.org/wiki/Thread_safety for a simplified view on this.
More information about the Gcc-bugs
mailing list