Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MicroSpinLock: Use
atomic_exchange
instead of `atomic_compare_excha…
…nge` (#1971) Summary: The lock only has two-states, so `atomic_exchange` works and is as or more performant in any situation. Pull Request resolved: #1971 Reviewed By: Gownta Differential Revision: D47343961 Pulled By: Orvid fbshipit-source-id: 83d56cccc2617bfbd0c27d2464f498ecf1b1ed5e
- Loading branch information