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).
Showing
Please register or sign in to comment