mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
use the way-cool isc_task_setname() function, hoping there will eventually be a isc_taskmgr_stats() call
This commit is contained in:
parent
1242c7b4aa
commit
d218bede14
1 changed files with 1 additions and 0 deletions
|
|
@ -214,6 +214,7 @@ main(int argc, char **argv)
|
|||
result = isc_task_create(taskmgr, mem, 0, &cmgr[i].task);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
break;
|
||||
isc_task_setname(cmgr[i].task, "lwresd client", &cmgr[i]);
|
||||
cmgr[i].lwctx = NULL;
|
||||
result = lwres_context_create(&cmgr[i].lwctx, mem,
|
||||
mem_alloc, mem_free);
|
||||
|
|
|
|||
Loading…
Reference in a new issue