mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 00:55:24 +00:00
Simplify netmgr active handles accounting
The active handles accounting was both using atomic counter and ISC_LIST to keep track of active handles. Remove the atomic counter that was in use before the ISC_LIST was added for better tracking of the handles attached to the socket.
This commit is contained in:
@@ -991,11 +991,6 @@ struct isc_nmsocket {
|
||||
*/
|
||||
isc_result_t result;
|
||||
|
||||
/*%
|
||||
* Current number of active handles.
|
||||
*/
|
||||
atomic_int_fast32_t ah;
|
||||
|
||||
/*%
|
||||
* This function will be called with handle->sock
|
||||
* as the argument whenever a handle's references drop
|
||||
|
Reference in New Issue
Block a user