63ca494e7e9aba8dc6740443fdab69620c7a7523 |
|
30-Jan-2001 |
Brian Wellington <source@isc.org> |
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. |