Fix cacheline padding in folly/test/SharedMutexTest with alignment.
Summary: The cacheline padding in folly/test/SharedMutexTest is not actually functional since the compiler is free to rearrange and optimize away local variables. This diff fixes the cacheline padding by aligning the false-sharing critical values. Reviewed By: nbronson Differential Revision: D15523241 fbshipit-source-id: c51b1e4cd78ab33f75fa93faf0a0346ec602f97c
Showing
Please register or sign in to comment