Comment on Correctly implementing a spinlock in Modern C++parentComments−albertzeyer5yI wonder, there was this change/fix:https://github.com/boostorg/sync/commit/1b5aaa4a0b7ef4fad2a4...−spacechild15yThe title "Corrected memory order in some cases" is a bit misleading because the original code was correct. The commit just relaxes some unnecessarily strict memory orderings (to improve performance on platforms with weak memory models).BTW, the spinlock implementation is not affected.
Comments
I wonder, there was this change/fix:
https://github.com/boostorg/sync/commit/1b5aaa4a0b7ef4fad2a4...
The title "Corrected memory order in some cases" is a bit misleading because the original code was correct. The commit just relaxes some unnecessarily strict memory orderings (to improve performance on platforms with weak memory models).
BTW, the spinlock implementation is not affected.