diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-12-25 13:16:46 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-12-25 13:59:04 +0100 |
commit | 9118fd360a3da0bba521caf2a35c424968235ac4 (patch) | |
tree | bb5b687e254fda361ac935273cde5ab97c02ad59 /sql/item_subselect.h | |
parent | f02c8ffa340cf8b1cb6e7530dbaa95a64effca87 (diff) | |
download | mariadb-git-9118fd360a3da0bba521caf2a35c424968235ac4.tar.gz |
MDEV-24142 - Windows - do not use WaitOnAddress-based ssux_lock.
WaitOnAddress() turns out to be too CPU-heavy for the specific scenario,
which makes it prominent in profiler output on several benchmarks with
contended sux_lock.
The condition variable implementation does not show the same behavior.
Thus, defined SRWLOCK_DUMMY for Windows
srw_mutex should remain mapped to SRWLOCK on Windows (since SRWLOCK is
smaller).
Diffstat (limited to 'sql/item_subselect.h')
0 files changed, 0 insertions, 0 deletions