Commit 1da0994e authored by Committed by Ondřej Surý
Make isc_rwlock.c thread-safe
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>).
Showing with 77 additions and 81 deletions