You are absolutely right. This problem has nothing to do with the use of a volatile-qualifier. This is a more common problem. I published a minimal test case that I was able to invent.
You are absolutely right. This problem has nothing to do with the use of a volatile-qualifier. This is a more common problem. I published a minimal test case that I was able to invent.