diff options
author | Rickard Green <[email protected]> | 2011-05-10 11:45:30 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-05-11 12:11:45 +0200 |
commit | 5bcdb3ac4ea27ca47e18628aa147e7544043fa84 (patch) | |
tree | fab46e0a588d6e7cab7ef4b42a9280ccd7da3b64 /erts/doc | |
parent | 2ef48dca9328e0b928117f21bc9ee6dbc5a614cc (diff) | |
download | otp-5bcdb3ac4ea27ca47e18628aa147e7544043fa84.tar.gz otp-5bcdb3ac4ea27ca47e18628aa147e7544043fa84.tar.bz2 otp-5bcdb3ac4ea27ca47e18628aa147e7544043fa84.zip |
Homogenize memory barriers on atomics
Atomic operations with specified barriers have specified barrier semantics.
Set and read operations have undefined barrier semantics. All other atomic
operations implied full memory barriers, except when using the libatomic_ops
library and the tilera atomics api.
Some code in the runtime system assumed that all operations used (except for
set, read and specified) implied full memory barriers. The use of the
libatomic_ops library and the tilera atomics api have therefore been modified
to behave as the other implementations.
Some atomic operations with specified barrier semantics on sparc32 have also
been been relaxed in this commit.
Diffstat (limited to 'erts/doc')
0 files changed, 0 insertions, 0 deletions