summaryrefslogtreecommitdiff
path: root/src/atomic_ops.c
Commit message (Collapse)AuthorAgeFilesLines
* Hide AO_locks symbolIvan Maidanski2016-10-251-1/+1
| | | | | * src/atomic_ops.c [!_MSC_VER && !__MINGW32__] (AO_locks): Define as static.
* Enable build using toolchain without pthreadsGilles Talis2013-05-261-6/+7
| | | | | | | | | * src/atomic_ops.c: Include pthread.h only if not AO_NO_PTHREADS (new macro). * src/atomic_ops.c (AO_pt_lock): Define only unless AO_NO_PTHREADS. * tests/test_atomic.c (main): Skip test_atomic_pthreads if both AO_NO_PTHREADS and AO_USE_PTHREAD_DEFS are defined (preventing test link failure if AO_NO_PTHREADS passed via CFLAGS).
* Remove duplicate AO_spin and AO_pause definition in atomic_ops_stackIvan Maidanski2012-10-041-41/+47
| | | | | | | | | | | | | | | * src/atomic_ops.c (AO_REQUIRE_CAS): Undefine and include atomic_ops.h unconditionally. * src/atomic_ops.c (AO_USE_WIN32_PTHREADS): Define macro (and include windows.h) if Win32 (non-POSIX) to have Sleep-based implementation of AO_pause. * src/atomic_ops.c (dummy, AO_spin, AO_pause): Define unconditionally (to be always available for atomic_ops_stack). * src/atomic_ops.c (dummy): Rename to spin_dummy. * src/atomic_ops_stack.c (dummy, AO_spin, AO_pause): Remove definition (for Win32); remove FIXME. * src/atomic_ops_stack.c (AO_pause): Declare if AO_USE_ALMOST_LOCK_FREE defined.
* Fix AO_pause sleep delay for particular argument values (Win32)Ivan Maidanski2012-10-031-1/+1
| | | | | | | | * src/atomic_ops.c (AO_pause): Fix millis value (passed to Win32 Sleep) for the case of 'n' argument in range between 12 and 21, inclusive if AO_USE_WIN32_PTHREADS (sleep for 1 ms in this case). * src/atomic_ops_stack.c (AO_pause): Evaluate 'msecs' value using the same algorithm as in atomic_ops.c (Win32 only).
* Optimize AO_spin manually to minimize compiler influence on its durationIvan Maidanski2012-10-031-9/+7
| | | | | | | | | | | * src/atomic_ops.c (dummy, AO_spin): Use AO_t instead of deprecated AO_T. * src/atomic_ops_stack.c (AO_spin): Likewise. * src/atomic_ops.c (AO_spin): Define as static (since not needed outside). * src/atomic_ops.c (AO_spin): Optimize code manually to minimize speed dependency on compiler optimization level; add comment. * src/atomic_ops_stack.c (AO_spin): Likewise.
* Replace some FIXME items with TODO in atomic_ops.c and sysdeps headersIvan Maidanski2012-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * src/atomic_ops.c (AO_HASH_SIZE): Replace FIXME item with TODO one. * src/atomic_ops/sysdeps/gcc/alpha.h (AO_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/avr32.h (AO_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/ia64.h (AO_compare_double_and_swap_double, AO_compare_and_swap_double): Likewise. * src/atomic_ops/sysdeps/gcc/m68k.h (AO_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/mips.h (AO_and, AO_or, AO_xor): Likewise. * src/atomic_ops/sysdeps/gcc/s390.h (AO_nop_full, AO_fetch_compare_and_swap, AO_compare_double_and_swap_double): Likewise. * src/atomic_ops/sysdeps/gcc/sparc.h: Likewise. * src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_fetch_and_add, AO_and, AO_or, AO_xor): Likewise. * src/atomic_ops/sysdeps/msftc/arm.h (AO_compare_double_and_swap_double): Likewise. * src/atomic_ops/sysdeps/sunc/sparc.h: Likewise. * src/atomic_ops/sysdeps/ao_t_is_int.h: Add TODO item. * src/atomic_ops/sysdeps/gcc/sh.h: Likewise.
* Use __builtin_expect in CAS failure loop condition checks (GCC only)Ivan Maidanski2012-03-261-2/+2
| | | | | | | | | | | | | | | | | | * src/atomic_ops.c (lock, block_all_signals): Use AO_EXPECT_FALSE. * src/atomic_ops.h (AO_EXPECT_FALSE): New macro. * src/atomic_ops/generalize-small.template (AO_XSIZE_fetch_and_add_full, AO_XSIZE_fetch_and_add_acquire, AO_XSIZE_fetch_and_add_release): Use AO_EXPECT_FALSE for CAS failure check. * src/atomic_ops/generalize.h (AO_fetch_and_add_full, AO_fetch_and_add_acquire, AO_fetch_and_add_release, AO_fetch_and_add, AO_and_full, AO_or_full, AO_xor_full): Likewise. * src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_double_and_swap_double): Likewise. * src/atomic_ops_stack.c (AO_stack_push_explicit_aux_release, AO_stack_pop_explicit_aux_acquire, AO_stack_push_release, AO_stack_pop_acquire): Likewise. * src/atomic_ops/generalize-small.h: Regenerate.
* Generalize AO_compare_and_swap primitives via AO_fetch_compare_and_swapIvan Maidanski2011-11-111-27/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/atomic_ops.c (AO_compare_and_swap_emulation): Remove. * src/atomic_ops/sysdeps/emul_cas.h (AO_compare_and_swap_emulation, AO_compare_and_swap_full, AO_HAVE_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/gcc/ia64.h (AO_compare_and_swap_acquire, AO_HAVE_compare_and_swap_acquire, AO_compare_and_swap_release, AO_HAVE_compare_and_swap_release, AO_char_compare_and_swap_acquire, AO_HAVE_char_compare_and_swap_acquire, AO_char_compare_and_swap_release, AO_HAVE_char_compare_and_swap_release, AO_short_compare_and_swap_acquire, AO_HAVE_short_compare_and_swap_acquire, AO_short_compare_and_swap_release, AO_HAVE_short_compare_and_swap_release, AO_int_compare_and_swap_acquire, AO_HAVE_int_compare_and_swap_acquire, AO_int_compare_and_swap_release, AO_HAVE_int_compare_and_swap_release): Likewise. * src/atomic_ops/sysdeps/generic_pthread.h (AO_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/hpc/ia64.h (AO_compare_and_swap_acquire, AO_HAVE_compare_and_swap_acquire, AO_compare_and_swap_release, AO_HAVE_compare_and_swap_release, AO_char_compare_and_swap_acquire, AO_HAVE_char_compare_and_swap_acquire, AO_char_compare_and_swap_release, AO_HAVE_char_compare_and_swap_release, AO_short_compare_and_swap_acquire, AO_HAVE_short_compare_and_swap_acquire, AO_short_compare_and_swap_release, AO_HAVE_short_compare_and_swap_release): Likewise. * src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_compare_and_swap_acquire, AO_HAVE_compare_and_swap_acquire, AO_compare_and_swap_release, AO_HAVE_compare_and_swap_release, AO_compare_and_swap_full, AO_HAVE_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/icc/ia64.h (AO_compare_and_swap_acquire, AO_HAVE_compare_and_swap_acquire, AO_compare_and_swap_release, AO_HAVE_compare_and_swap_release, AO_char_compare_and_swap_acquire, AO_HAVE_char_compare_and_swap_acquire, AO_char_compare_and_swap_release, AO_HAVE_char_compare_and_swap_release, AO_short_compare_and_swap_acquire, AO_HAVE_short_compare_and_swap_acquire, AO_short_compare_and_swap_release, AO_HAVE_short_compare_and_swap_release, AO_int_compare_and_swap_acquire, AO_HAVE_int_compare_and_swap_acquire, AO_int_compare_and_swap_release, AO_HAVE_int_compare_and_swap_release): Likewise. * src/atomic_ops/sysdeps/msftc/common32_defs.h (AO_compare_and_swap_full, AO_HAVE_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/msftc/x86_64.h (AO_compare_and_swap_full, AO_HAVE_compare_and_swap_full): Likewise. * src/atomic_ops.h: Do not include emul_cas.h if any of AO_HAVE_fetch_compare_and_swap_... is defined. * src/atomic_ops.h (AO_HAVE_fetch_compare_and_swap_full): Do not define AO_GENERALIZE_TWICE if AO_HAVE_fetch_compare_and_swap_full and AO_CAN_EMUL_CAS are both defined. * src/atomic_ops/generalize-small.template (AO_XSIZE_compare_and_swap_full, AO_XSIZE_compare_and_swap_acquire, AO_XSIZE_compare_and_swap_release): New template (based on the corresponding AO_XSIZE_fetch_compare_and_swap primitive). * src/atomic_ops/generalize-small.template (AO_HAVE_XSIZE_compare_and_swap_full, AO_HAVE_XSIZE_compare_and_swap_acquire, AO_HAVE_XSIZE_compare_and_swap_release): Define. * src/atomic_ops/generalize.h (AO_HAVE_compare_and_swap, AO_HAVE_compare_and_swap_full, AO_HAVE_compare_and_swap_acquire, AO_HAVE_compare_and_swap_release): Likewise. * src/atomic_ops/generalize-small.h: Regenerate. * src/atomic_ops/generalize.h (AO_compare_and_swap, AO_compare_and_swap_full, AO_compare_and_swap_acquire, AO_compare_and_swap_release): New function implementation (based on the corresponding AO_fetch_compare_and_swap primitive).
* Implement most AO_fetch_compare_and_swap primitivesIvan Maidanski2011-11-111-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/atomic_ops.c (AO_fetch_compare_and_swap_emulation): Implement. * src/atomic_ops.h: Remove FIXME for AO_fetch_compare_and_swap. * src/atomic_ops/generalize.h (AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_release, AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_write, AO_fetch_compare_and_swap_read, AO_fetch_compare_and_swap, AO_fetch_compare_and_swap_full, AO_fetch_compare_and_swap_release_write, AO_fetch_compare_and_swap_acquire_read, AO_fetch_compare_and_swap_dd_acquire_read): Implement; define the corresponding AO_HAVE_... macro. * src/atomic_ops/sysdeps/ao_t_is_int.h (AO_int_fetch_compare_and_swap_full, AO_int_fetch_compare_and_swap_acquire, AO_int_fetch_compare_and_swap_release, AO_int_fetch_compare_and_swap_write, AO_int_fetch_compare_and_swap_read, AO_int_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/emul_cas.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/gcc/arm.h (AO_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/hexagon.h (AO_fetch_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/ia64.h (AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_release, AO_char_fetch_compare_and_swap_acquire, AO_char_fetch_compare_and_swap_release, AO_short_fetch_compare_and_swap_acquire, AO_short_fetch_compare_and_swap_release, AO_int_fetch_compare_and_swap_acquire, AO_int_fetch_compare_and_swap_release): Likewise. * src/atomic_ops/sysdeps/gcc/powerpc.h (AO_fetch_compare_and_swap, AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_release, AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/gcc/x86.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/gcc/x86_64.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/generic_pthread.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/hpc/ia64.h (AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_release, AO_char_fetch_compare_and_swap_acquire, AO_char_fetch_compare_and_swap_release, AO_short_fetch_compare_and_swap_acquire, AO_short_fetch_compare_and_swap_release): Likewise. * src/atomic_ops/sysdeps/icc/ia64.h (AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_release, AO_char_fetch_compare_and_swap_acquire, AO_char_fetch_compare_and_swap_release, AO_short_fetch_compare_and_swap_acquire, AO_short_fetch_compare_and_swap_release, AO_int_fetch_compare_and_swap_acquire, AO_int_fetch_compare_and_swap_release): Likewise. * src/atomic_ops/sysdeps/msftc/common32_defs.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/msftc/x86_64.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/sunc/x86.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/sunc/x86_64.h (AO_fetch_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/emul_cas.h (AO_fetch_compare_and_swap_emulation): Declare the function. * src/atomic_ops/sysdeps/gcc/mips.h: Adjust FIXME. * src/atomic_ops/sysdeps/gcc/sparc.h: Likewise. * src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_fetch_compare_and_swap, AO_fetch_compare_and_swap_acquire, AO_fetch_compare_and_swap_release, AO_fetch_compare_and_swap_full): Add implementation stub. * tests/list_atomic.template (list_atomicXX): Add AO_fetch_compare_and_swapXX call. * tests/test_atomic_include.template (test_atomicXX): Likewise.
* Add FIXMEs to add AO_fetch_compare_and_swap primitivesIvan Maidanski2011-11-111-0/+3
|
* Minor code refactoring of src/atomic_ops.c (remove duplicated code)Ivan Maidanski2011-10-211-26/+18
| | | | | | | * src/atomic_ops.c (block_all_signals): New inline function (move the code from AO_compare_and_swap_emulation). * src/atomic_ops.c (AO_compare_and_swap_emulation, AO_compare_double_and_swap_double_emulation): Use block_all_signals().
* Fix compiler warning in atomic_ops.c (define 'init_lock' only if used)Ivan Maidanski2011-10-211-2/+1
| | | | * src/atomic_ops.c (init_lock): Define only unless AO_USE_NO_SIGNALS.
* Do not put dummy AO_non_posix_impl... symbol to executables.Ivan Maidanski2011-09-211-1/+1
| | | | | * src/atomic_ops.c (AO_non_posix_implementation_is_entirely_in_headers): Make external.
* 2011-02-19 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-0/+1
| | | | | | | | * src/atomic_ops.c: Include sys/time.h (to get timespec) for NaCl. * src/atomic_ops_malloc.c (msb): Do the shift by 32 only once (in a conditional expression) to prevent a compiler warning. * src/atomic_ops_malloc.c: Expand all tabs to spaces; remove trailing spaces at EOLn.
* 2011-02-19 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-0/+7
| | | | | * src/atomic_ops.c: Explicitly define AO_USE_NO_SIGNALS and AO_USE_NANOSLEEP for NaCl.
* 2011-02-09 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-29/+37
| | | | | | | | | | | | | | | | * src/atomic_ops.c (AO_USE_NO_SIGNALS, AO_USE_NANOSLEEP): New macros. * src/atomic_ops.c (AO_USE_WIN32_PTHREADS): Imply AO_USE_NO_SIGNALS. * src/atomic_ops.c: Don't include signal.h if AO_USE_NO_SIGNALS. * src/atomic_ops.c: Include time.h if AO_USE_NANOSLEEP. * src/atomic_ops.c (AO_locks, AO_pause): Reformat the code. * src/atomic_ops.c (AO_pause): Use nanosleep() if AO_USE_NANOSLEEP. * src/atomic_ops.c (all_sigs, initialized, AO_compare_and_swap_emulation, AO_compare_double_and_swap_double_emulation): Use AO_USE_NO_SIGNALS instead of AO_USE_WIN32_PTHREADS.
* 2009-09-16 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog: Remove trailing spaces at EOLn. * doc/README.txt: Expand all tabs to spaces; remove trailing spaces at EOLn; remove multiple trailing blank lines. * src/atomic_ops.c: Ditto. * src/atomic_ops.h: Ditto. * src/atomic_ops/generalize-small.h: Ditto. * src/atomic_ops/generalize.h: Ditto. * src/atomic_ops/sysdeps/acquire_release_volatile.h: Ditto. * src/atomic_ops/sysdeps/aligned_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/all_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/ao_t_is_int.h: Ditto. * src/atomic_ops/sysdeps/armcc/arm_v6.h: Ditto. * src/atomic_ops/sysdeps/atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/char_acquire_release_volatile.h: Ditto. * src/atomic_ops/sysdeps/char_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/gcc/alpha.h: Ditto. * src/atomic_ops/sysdeps/gcc/arm.h: Ditto. * src/atomic_ops/sysdeps/gcc/hppa.h: Ditto. * src/atomic_ops/sysdeps/gcc/ia64.h: Ditto. * src/atomic_ops/sysdeps/gcc/m68k.h: Ditto. * src/atomic_ops/sysdeps/gcc/mips.h: Ditto. * src/atomic_ops/sysdeps/gcc/powerpc.h: Ditto. * src/atomic_ops/sysdeps/gcc/s390.h: Ditto. * src/atomic_ops/sysdeps/gcc/sparc.h: Ditto. * src/atomic_ops/sysdeps/gcc/x86.h: Ditto. * src/atomic_ops/sysdeps/gcc/x86_64.h: Ditto. * src/atomic_ops/sysdeps/generic_pthread.h: Ditto. * src/atomic_ops/sysdeps/hpc/hppa.h: Ditto. * src/atomic_ops/sysdeps/hpc/ia64.h: Ditto. * src/atomic_ops/sysdeps/ibmc/powerpc.h: Ditto. * src/atomic_ops/sysdeps/icc/ia64.h: Ditto. * src/atomic_ops/sysdeps/int_acquire_release_volatile.h: Ditto. * src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/int_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/msftc/arm.h: Ditto. * src/atomic_ops/sysdeps/msftc/common32_defs.h: Ditto. * src/atomic_ops/sysdeps/msftc/x86.h: Ditto. * src/atomic_ops/sysdeps/msftc/x86_64.h: Ditto. * src/atomic_ops/sysdeps/ordered.h: Ditto. * src/atomic_ops/sysdeps/ordered_except_wr.h: Ditto. * src/atomic_ops/sysdeps/read_ordered.h: Ditto. * src/atomic_ops/sysdeps/short_acquire_release_volatile.h: Ditto. * src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/short_atomic_load_store.h: Ditto. * src/atomic_ops/sysdeps/standard_ao_double_t.h: Ditto. * src/atomic_ops/sysdeps/sunc/x86.h: Ditto. * src/atomic_ops/sysdeps/sunc/x86_64.h: Ditto. * src/atomic_ops/sysdeps/test_and_set_t_is_ao_t.h: Ditto. * src/atomic_ops_stack.c: Ditto. * src/atomic_ops_stack.h: Ditto. * src/atomic_ops/sysdeps/gcc/arm.h: Replace non-ASCII quotes in a comment. * src/atomic_ops/sysdeps/gcc/mips.h: Use Unix-style EOLn.
* 2009-09-10 Ivan Maidanski <ivmai@mail.ru>ivmai2011-07-251-16/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ivmai122.diff) * src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_compare_double_and_swap_double): Replace false/true with 0/1. * src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_double_and_swap_double): Ditto. * src/atomic_ops/sysdeps/gcc/arm.h: Recognize more ARMv6+ predefined macros (6J, 6ZK, 7A, 7M, 7R). * src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_double_and_swap_double): Add "cc" clobber to asm. * src/atomic_ops/sysdeps/gcc/powerpc.h (AO_HAVE_load_acquire): Correct the name (convert from the lower case). * src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_HAVE_load_acquire): Ditto. * src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_test_and_set, AO_compare_and_swap): Comment out unimplemented code (and the corresponding macros); add FIXME. * src/atomic_ops.c: Recognize AO_USE_WIN32_PTHREADS overriding _MSC_VER and __MINGW32__ predefined macros (useful for WinCE with pthreads-w32 library); don't include signal.h, sys/time.h, sys/select.h in this case; include windows.h instead. * src/atomic_ops.c (AO_pause): Use Sleep() in case of AO_USE_WIN32_PTHREADS (instead of select()). * src/atomic_ops.c (all_sigs, initialized): Don't define in case of AO_USE_WIN32_PTHREADS. * src/atomic_ops.c (AO_compare_and_swap_emulation, AO_compare_double_and_swap_double_emulation): Don't deal with signals in case of AO_USE_WIN32_PTHREADS.
* 2008-10-21 Hans Boehm <Hans.Boehm@hp.com> (really Ivan Maidanski)hboehm2011-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | * src/atomic_ops/sysdeps/aligned_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/all_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/char_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/gcc/arm.h: Fix comments. * src/atomic_ops/sysdeps/gcc/x86.h: Fix comments. * src/atomic_ops/sysdeps/gcc/x86_64.h: Fix comments. * src/atomic_ops/sysdeps/hpc/hppa.h: Fix comments. * src/atomic_ops/sysdeps/hpc/ia64.h: Fix comments. * src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/int_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h: Fix comments. * src/atomic_ops/sysdeps/short_atomic_load_store.h: Fix comments. * src/atomic_ops.c: Fix comments. * src/atomic_ops.h: Fix comments. * src/atomic_ops_stack.c: Fix comments. * src/atomic_ops_stack.h: Fix comments.
* libatomic_ops-1.0 tarball importlibatomic_ops-1_0Ivan Maidanski2011-07-251-0/+225