On domingo, 28 de fevereiro de 2016 18:52:30 PST Vincas Dargis wrote: > 2016.02.28 17:37, Olivier Goffart rašė: > > Since QBasicAtomic is a literal type, it is going to be initialized at > > compile time and can be used without mutexes. > > That's interesting, thanks. > > Though should I add TODO for the future to simplify it when MSVC2013 support > ends? Or it could be like that "forever"?
Not worth it, since there's a lot of code using Q_GLOBAL_STATIC and they often have more reasons than just thread-safely initialisation. PS: MSVC 2015 RTM is also affected. Only Update 1 is fixed. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
