mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 14:19:59 -04:00
Added comments about locking in dns_dbtable struct.
This commit is contained in:
parent
a685d9c3b6
commit
c77dc869b3
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue