top | item 23666254

(no title)

361994752 | 5 years ago

This is not about race condition. Rather it is something more like why you need volatile keyword.

https://stackoverflow.com/questions/72275/when-should-the-vo...

discuss

order

MauranKilom|5 years ago

Can you elaborate? volatile and threading in C++ are orthogonal to each other. I don't understand why you consider a C# volatile discussion relevant when talking about C++ race conditions.

ensiferum|5 years ago

Volatile in c++ has nothing to do with threading.