mariadb/sync
calvin 6fd7b63c8e branches/zip: Use the Windows Interlocked functions for atomic memory
access

Mapping the atomic operations to Windows Interlocked functions:

os_compare_and_swap_* to InterlockedCompareExchange(64)
os_atomic_increment_* to InterlockedExchangeAdd(64)
os_atomic_test_and_set_byte to InterlockedExchange

In this patch, the legacy code under UNIV_CAN_USE_X86_ASSEMBLER is
removed all together, and add HAVE_WINDOWS_ATOMICS and
INNODB_RW_LOCKS_USE_ATOMICS to CMakeLists.txt

This is to address mantis issue#194.

rb://113

Approved by: Marko
2009-04-15 21:22:35 +00:00
..
sync0arr.c branches/zip 2009-04-07 14:45:37 +00:00
sync0rw.c branches/zip: Remove the bogus failure reported in Issue #219. 2009-04-06 11:13:45 +00:00
sync0sync.c branches/zip: Use the Windows Interlocked functions for atomic memory 2009-04-15 21:22:35 +00:00