diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2012-09-29 22:28:45 +0400 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2012-09-29 22:28:45 +0400 |
| commit | c6dc43294bda5516dea392cd4d994cbd1a18288e (patch) | |
| tree | 7b4d72663c9309508e0a6556c1158cd9d769c192 /configure.ac | |
| parent | fd90859e92fe72d4760be0b499423b7ed96a5f97 (diff) | |
| download | libatomic_ops-c6dc43294bda5516dea392cd4d994cbd1a18288e.tar.gz | |
Remove unsafe emulation-based implementation of double CAS (SunCC/x86)
* src/atomic_ops/sysdeps/sunc/x86.h
(AO_compare_double_and_swap_double_full): Do not test
AO_WEAK_DOUBLE_CAS_EMULATION and remove emulation-based implementation
since it is unsafe (not atomic with respect to other kinds of updates)
leading to test_stack failure.
* configure.ac (AO_WEAK_DOUBLE_CAS_EMULATION): Update and refine
documentation.
* src/atomic_ops/sysdeps/sunc/x86.h
(AO_compare_double_and_swap_double_full): Likewise.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fbb4df7..347c881 100644 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,7 @@ AH_TEMPLATE([AO_USE_SYNC_CAS_BUILTIN], (only gcc/x86, gcc/x86_64)]) AH_TEMPLATE([AO_WEAK_DOUBLE_CAS_EMULATION], [Emulate double-width CAS via pthread locking in case of no hardware \ - support (only gcc/x86_64, sunc/x86_64)]) + support (only gcc/x86_64, the emulation is unsafe)]) THREADDLLIBS= have_pthreads=true |
