mariadb/storage/innobase/os
Calvin Sun 0802e5da69 Improve InnoDB synchronization primitives on Windows
This patch was originally developed by Vladislav Vaintroub.
The main changes are:

 * Use TryEnterCriticalSection in os_fast_mutex_trylock().
 * Use lightweight condition variables on Vista or later Windows;
   but fall back to events on older Windows, such as XP.

This patch also fixes the following bugs:
  bug# 52102 InnoDB Plugin shows performance drop compared to InnoDB
             on Windows
  bug# 53204 os_fastmutex_trylock is implemented incorrectly on Windows

rb://363 approved by Inaam Rana
2010-07-20 15:42:31 -05:00
..
os0file.c Improve InnoDB synchronization primitives on Windows 2010-07-20 15:42:31 -05:00
os0proc.c Merge of innodb-zip-ss6129 from 5.1 to mysql-trunk. 2009-11-05 16:29:58 +04:00
os0sync.c Improve InnoDB synchronization primitives on Windows 2010-07-20 15:42:31 -05:00
os0thread.c Improve InnoDB synchronization primitives on Windows 2010-07-20 15:42:31 -05:00