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