mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
add comment
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user