• Marko Mäkelä's avatar
    MDEV-24167 fixup: Avoid hangs in SRW_LOCK_DUMMY · 6b2d1766
    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 write and read requests.
    6b2d1766
srw_lock.cc 5.92 KB