• Marko Mäkelä's avatar
    MDEV-24167 fixup: Avoid hangs in SRW_LOCK_DUMMY · 260161fc
    Marko Mäkelä authored
    In commit 1fdc161d we introduced
    a mutex-and-condition-variable based fallback implementation
    for platforms that lack a futex system call. That implementation
    is prone to hangs.
    
    Let us use separate condition variables for shared and exclusive requests.
    260161fc
srw_lock.h 4.09 KB