The _ReadWriteBarrier is an intrinsic function that is deprecated. According to MS Docs, atomic functions should be used (stating with C++11).
More details:
https://wildfiregames.com/forum/topic/70263-compiler_fence-uses-deprecated-function/
Whether we should still be using the fences or the compiler is clever enough so that they are no longer needed is under debate and subject to testing on enough platforms so that it can be properly assessed. May well be that we take them out completely and nothing happens.