mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Enhance the isc_loop unit to allow reference count tracking
Use ISC_REFCOUNT_TRACE_{IMPL,DECL} to allow better isc_loop reference tracking - use `#define ISC_LOOP_TRACE 1` in <isc/loop.h> to enable.
This commit is contained in:
@@ -330,7 +330,11 @@ loop_destroy(isc_loop_t *loop) {
|
||||
UV_RUNTIME_CHECK(uv_async_send, r);
|
||||
}
|
||||
|
||||
#if ISC_LOOP_TRACE
|
||||
ISC_REFCOUNT_TRACE_IMPL(isc_loop, loop_destroy)
|
||||
#else
|
||||
ISC_REFCOUNT_IMPL(isc_loop, loop_destroy);
|
||||
#endif
|
||||
|
||||
void
|
||||
isc_loopmgr_create(isc_mem_t *mctx, uint32_t nloops, isc_loopmgr_t **loopmgrp) {
|
||||
|
Reference in New Issue
Block a user