Answer by Malt for Visibility of volatile writes in C#
We need to make a distinction between writes and assignments.Visibility of writes is a property of CPUs, not languages. Specifically, it's a question of Cache Coherence which has two requirements:Write...
View ArticleVisibility of volatile writes in C#
According to section 14.5.4 of the C# language spec (ECMA 334, 6th Edition), volatile fields are all about preventing reordering:14.5.4 Volatile fieldsWhen a field_declaration includes a volatile...
View Article
More Pages to Explore .....