[Development] Local static variable initialization in multithreaded code

Vincas Dargis vindrg at gmail.com
Mon Feb 29 18:57:10 CET 2016



2016.02.28 19:16, Thiago Macieira rašė:
>> 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.
>

  Thanks Olivier and Thiago for guidance!



More information about the Development mailing list