Add lock-based implementation of char/short/int_fetch_compare_and_swap
authorIvan Maidanski <ivmai@mail.ru>
Wed, 2 Jan 2013 14:34:00 +0000 (18:34 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 2 Jan 2013 14:34:00 +0000 (18:34 +0400)
commit97633aba984fc7e2927d0a5eaf05c43747120fa4
tree315c18379f371cb4c41ec46559c1d6f7c94a8a89
parent222ccabf2ac8373fcd03b7e2fbdd40a5aab4fc0c
Add lock-based implementation of char/short/int_fetch_compare_and_swap

* src/atomic_ops/sysdeps/generic_pthread.h
(AO_char_fetch_compare_and_swap_full,
AO_short_fetch_compare_and_swap_full,
AO_int_fetch_compare_and_swap_full): Implement primitives.
src/atomic_ops/sysdeps/generic_pthread.h