Added comments about locking in dns_dbtable struct.

This commit is contained in:
David Lawrence
1999-03-18 20:06:26 +00:00
parent a685d9c3b6
commit c77dc869b3

View File

@@ -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;
};