Added comments about locking in dns_dbtable struct.
This commit is contained in:
@@ -25,10 +25,12 @@
|
||||
#include <dns/rbt.h>
|
||||
|
||||
struct dns_dbtable {
|
||||
/* Unlocked. */
|
||||
unsigned int magic;
|
||||
isc_mem_t * mctx;
|
||||
isc_rwlock_t tree_lock;
|
||||
dns_db_t * default_db;
|
||||
/* Locked by tree_lock. */
|
||||
dns_rbt_t * rbt;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user