DistributedMutexTest: Use std::atomic instead of DeterministicAtomic for tests...
DistributedMutexTest: Use std::atomic instead of DeterministicAtomic for tests that do not initialize a DeterministicSchedule Summary: operations on DeterministicAtomic may not be atomic without a DeterministicSchedule. Changes planned to DeterministicAtomic to introduce buffering make operations non-atomic with a DeterministicSchedule, but also introduce an assert to explicitly catch this case. This diff changes the tests that will trigger the assert to use std::atomic. Reviewed By: aary Differential Revision: D11670861 fbshipit-source-id: 84f4e7874048682728c699c90e987a9a7f15b198
Showing
Please register or sign in to comment