Basic C++ atomic array Basic C++ atomic array arrays arrays

Basic C++ atomic array


IIRC atomic variables on a single cache-line will share the locking (on x86{,_64}).

So maybe extend the array and try variables at each end to test that?