-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SERVER-5648 Give AtomicWord::load and store full-barrier semantics.
Initially, they offered no-barrier semantics. Also, fixes the implementation of 64-bit load and store on 32-bit machines, which was not implemented in atomic fashion. Finally, removes the "cc" clobber declaration on AtomicIntrinsics<T>::swap under GCC, since the xchg instruction does not actually change the vakue of the flags (cc) register.
- Loading branch information
Andy Schwerin
committed
Jun 6, 2012
1 parent
c506f3b
commit 188084d
Showing
3 changed files
with
59 additions
and
8 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
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
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