mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
add comment
This commit is contained in:
parent
4a8b521fd7
commit
9b8123723a
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ isc_task_create(isc_taskmgr_t *manager, isc_mem_t *mctx, unsigned int quantum,
|
|||
INIT_LINK(task, ready_link);
|
||||
|
||||
LOCK(&manager->lock);
|
||||
/* XXX Should disallow if task manager is exiting. */
|
||||
if (task->quantum == 0)
|
||||
task->quantum = manager->default_quantum;
|
||||
APPEND(manager->tasks, task, link);
|
||||
|
|
|
|||
Loading…
Reference in a new issue