Searched refs:tasks (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/
H A Dtaskpool.c38 isc_task_t ** tasks; member in struct:isc_taskpool
61 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
62 if (pool->tasks == NULL) {
67 pool->tasks[i] = NULL;
89 /* Create the tasks */
91 result = isc_task_create(tmgr, quantum, &pool->tasks[i]);
96 isc_task_setname(pool->tasks[i], "taskpool", NULL);
107 isc_task_attach(pool->tasks[i % pool->ntasks], targetp);
137 /* Copy over the tasks from the old pool */
139 newpool->tasks[
[all...]
H A Dtask.c114 LIST(isc_task_t) tasks;
130 #define FINISHED(m) ((m)->exiting && EMPTY((m)->tasks))
152 UNLINK(manager->tasks, task, link);
156 * All tasks have completed and the
209 APPEND(manager->tasks, task, link);
1091 INIT_LIST(manager->tasks);
1176 * We need to do so, because otherwise the list of tasks could
1195 for (task = HEAD(manager->tasks);
1206 * there's work left to do, and if there are already no tasks left
1224 if (!ISC_LIST_EMPTY(manager->tasks))
[all...]
/bind-9.6-ESV-R11/bin/tests/
H A Dshutdown_test.c48 static t_info tasks[MAX_TASKS]; variable
82 t2_shutdown, &tasks[1],
115 t1_shutdown, &tasks[0],
141 ti = &tasks[task_count];
/bind-9.6-ESV-R11/bin/tests/tasks/
H A Dt_tasks.c377 static const char *a1 = "The task subsystem can create and manage tasks";
383 t_assert("tasks", 1, T_REQUIRED, "%s", a1);
516 t_info("Testing with %lu tasks\n", (unsigned long)ntasks);
575 static const char *a2 = "The task subsystem can create ISC_TASKS_MIN tasks";
579 t_assert("tasks", 2, T_REQUIRED, "%s", a2);
848 t_assert("tasks", 3, T_REQUIRED, "%s", a3);
1046 t_assert("tasks", 4, T_REQUIRED, "%s", a4);
1275 t_assert("tasks", 7, T_REQUIRED, "%s", a7);
1766 t_assert("tasks", 10, T_REQUIRED, "%s", a10);
2060 t_assert("tasks", 1
2261 isc_task_t *tasks[T14_NTASKS]; local
[all...]
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-signzone.c1264 * Set up the iterator and global state before starting the tasks.
1276 * Clean up the iterator and global state after the tasks complete.
3073 isc_task_t **tasks = NULL; local
3588 tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
3589 if (tasks == NULL)
3592 tasks[i] = NULL;
3593 result = isc_task_create(taskmgr, 0, &tasks[i]);
3613 tasks[i]);
3625 isc_task_detach(&tasks[i]);
3627 isc_mem_put(mctx, tasks, ntask
[all...]

Completed in 2898 milliseconds