mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
initialise worker->cond_prio
This commit is contained in:
@@ -323,6 +323,7 @@ isc__netmgr_create(isc_mem_t *mctx, uint32_t workers, isc_nm_t **netmgrp) {
|
||||
RUNTIME_CHECK(r == 0);
|
||||
|
||||
isc_mutex_init(&worker->lock);
|
||||
isc_condition_init(&worker->cond_prio);
|
||||
|
||||
for (size_t type = 0; type < NETIEVENT_MAX; type++) {
|
||||
worker->ievents[type] = isc_queue_new(mgr->mctx, 128);
|
||||
|
Reference in New Issue
Block a user