-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
atomics: Implement pointer atomic ops, fixes
- Implement atomic load/store/cas/swap on pointers, for future use in RCU and other lock-free algorithms - Prioritize Win32 MemoryBarrier() over __sync_synchronize() - Emulate atomic fences properly with global lock fallback - Use ATOMIC_ACQUIRE as fail ordering for CAS loops
- Loading branch information
Showing
1 changed file
with
103 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters