]> git.ipfire.org Git - thirdparty/bind9.git/commit
Added the isc_refcount_t type, which is a generic locked reference counter,
authorBrian Wellington <source@isc.org>
Tue, 30 Jan 2001 02:50:51 +0000 (02:50 +0000)
committerBrian Wellington <source@isc.org>
Tue, 30 Jan 2001 02:50:51 +0000 (02:50 +0000)
commit63ca494e7e9aba8dc6740443fdab69620c7a7523
tree6ca15a07ccec94fe8f3d7415ce8a2ef1713bea88
parentbce9e213fc802200d854ffcc588ed1952bbafa96
Added the isc_refcount_t type, which is a generic locked reference counter,
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock.  In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
lib/dns/include/dns/view.h
lib/dns/rbtdb.c
lib/dns/view.c
lib/dns/zone.c
lib/isc/include/isc/refcount.h [new file with mode: 0644]