mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 01:50:01 -04:00
Merge branch '2706-worker-cond_prio-needs-to-be-initialised' into 'main'
Resolve "worker->cond_prio needs to be initialised" Closes #2706 See merge request isc-projects/bind9!5048
This commit is contained in:
commit
71284cb496
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue