Skip to content
  • Ondřej Surý's avatar
    Make isc_rwlock.c thread-safe · 1da0994e
    Ondřej Surý authored and Ondřej Surý's avatar Ondřej Surý committed
    The ThreadSanitizer found several possible data races in our rwlock
    implementation.  This commit changes all the unprotected variables to atomic and
    also changes the explicit memory ordering (atomic_<foo>_explicit(..., <order>)
    functions to use our convenience macros (atomic_<foo>_<order>).
    1da0994e