mariadb/srv
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
..
srv0que.c branches/zip: 2009-02-17 10:09:16 +00:00
srv0srv.c branches/zip 2009-04-07 14:45:37 +00:00
srv0start.c branches/zip: Use the Windows Interlocked functions for atomic memory 2009-04-15 21:22:35 +00:00