2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

add comment

This commit is contained in:
Bob Halley
1999-03-09 22:50:13 +00:00
parent 4a8b521fd7
commit 9b8123723a

View File

@@ -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);