Message from C, C++ talks

June 2019

— Why the fuck do people even THINK that volatile assures thread saftey?

— "this is bool, how can it be not thread safe to set it in one thread and read from another. It can't be half-true, can it?"
That were my thoughts. I had no idea about instructions rearrangement and other more rare and complicated stuff.

Message permanent page

— Lol

— Ah and also I heard that VS make volatile bool atomic by default. So it can work sometimes. But not sure if that true or rumors

Message permanent page


That's true, but there is no justification to deprecate volatile, and it's still needed in other cases like interrupts

— I never used it for that for example

— Check this out

— Https://

— What is difference between codeblocks and opencv

— Uh

— Google both?

— Yeah

— Lol!

— Opencv isnt an editor, codeblocks is

— OpenCV is a framework to do computervision in CPP