ghalliday/HPCC-Platform — comment on commit 37e455fae1c1962122917e8f72954430d07dc0b4
File: system/jlib/jatomic.hpp line 59
By ghalliday:

I'm not sure - or whether this function should be renamed.

As far as I can understand it, volatile variable accesses should not be reordered, so really this is working around a bug in the gcc compiler.