mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Implement isc_rwlock_downgrade using pthreads and single atomic_bool
This commit is contained in:
@@ -36,6 +36,7 @@ typedef enum {
|
||||
|
||||
struct isc_rwlock {
|
||||
pthread_rwlock_t rwlock;
|
||||
atomic_bool downgrade;
|
||||
};
|
||||
|
||||
#else /* HAVE_PTHREAD_RWLOCK_RDLOCK */
|
||||
|
Reference in New Issue
Block a user