История изменений
Исправление DarkEld3r, (текущая версия) :
Атомарность инициализации статика на уровне стандарта?
Уточню, под атомарностью подразумевал не atomic, а отсутствие гонок. И да, это новшество 11 стандарта.
Можно мне выдержку этого пункта?
6.7.4
...If control enters the declaration concurrently while the variable is being initialized, the concurrent execution shall wait for completion of the initialization.
91) The implementation must not introduce any deadlock around execution of the initializer.
Исходная версия DarkEld3r, :
Атомарность инициализации статика на уровне стандарта?
Уточню, под атомарностью подразумевал не atomic, а отсутствие гонок.
Можно мне выдержку этого пункта?
6.7.4
...If control enters the declaration concurrently while the variable is being initialized, the concurrent execution shall wait for completion of the initialization.
91) The implementation must not introduce any deadlock around execution of the initializer.