
8 Jan
2007
8 Jan
'07
8:26 p.m.
AMDG Andrey Semashev wrote:
Oh, you're right. But isn't it enough just to mark "m_fInitialized" as "volatile"? According to 1.9/7 it would enforce the compiler to initialize "m_StatesInfo" prior to setting "m_fInitialized".
No, m_StatesInfo has to be volatile too. In Christ, Steven Watanabe