My answer is basically an indirect simple quote from Hans Boehm to the question Is a global implicitly volatile in C?. I pointed out that volatile
doesn't really do much for multithreaded programming—because it doesn't.
This answer has apparently attracted the attention of a user who, over the past couple of days, has posted comments containing words such as:
"Boehm just avoided doing the obvious observation that volatile prevents all these advanced optimization."
and insulting comments such as:
"The rejection of volatile is as conditioned as the rejection of goto, and as unfounded, conditioned, irrational, visceral, "holier than you" attitude of people who pretend to know better".
Yesterday's comments were thankfully deleted, but he's back...
I reply with comments along the lines of stating the user has confused volatile
's actually semantics of "evaluated strictly according to the rules of the abstract machine" with "prevents all optimizations".
The user has claimed to have written multithreaded code using volatile
and that it works correctly. I have asked the user to post such code, multiple times.
The user claims he has a question, but I have failed to see it.
This user is coming across to me as very harassing.