Searched defs:tasks (Results 1 - 7 of 7) sorted by relevance

/bind-9.11.3/lib/isc/
H A Dtaskpool.c29 isc_task_t ** tasks; member in struct:isc_taskpool
52 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
53 if (pool->tasks == NULL) {
58 pool->tasks[i] = NULL;
80 /* Create the tasks */
82 result = isc_task_create(tmgr, quantum, &pool->tasks[i]);
87 isc_task_setname(pool->tasks[i], "taskpool", NULL);
98 isc_task_attach(pool->tasks[i % pool->ntasks], targetp);
128 /* Copy over the tasks from the old pool */
130 newpool->tasks[
[all...]
H A Dtask.c140 LIST(isc__task_t) tasks;
169 #define FINISHED(m) ((m)->exiting && EMPTY((m)->tasks))
315 UNLINK(manager->tasks, task, link);
319 * All tasks have completed and the
377 APPEND(manager->tasks, task, link);
1277 * tasks remaining on the current ready queue, then
1431 INIT_LIST(manager->tasks);
1537 * We need to do so, because otherwise the list of tasks could
1561 for (task = HEAD(manager->tasks);
1572 * there's work left to do, and if there are already no tasks lef
1924 isc_taskmgr_renderjson(isc_taskmgr_t *mgr0, json_object *tasks) argument
[all...]
/bind-9.11.3/bin/tests/atomic/
H A Dt_atomic.c83 isc_task_t *tasks[TASKS]; local
96 * Create our tasks, and allocate an event to get the counters going.
99 tasks[i] = NULL;
100 CHECK(isc_task_create(task_manager, 0, &tasks[i]));
103 isc_task_sendanddetach(&tasks[i], &event);
141 isc_task_t *tasks[TASKS]; local
154 * Create our tasks, and allocate an event to get the counters going.
157 tasks[i] = NULL;
158 CHECK(isc_task_create(task_manager, 0, &tasks[i]));
161 isc_task_sendanddetach(&tasks[
205 isc_task_t *tasks[TASKS]; local
279 isc_task_t *tasks[TASKS]; local
[all...]
/bind-9.11.3/bin/tests/
H A Dshutdown_test.c40 static t_info tasks[MAX_TASKS]; variable
74 t2_shutdown, &tasks[1],
107 t1_shutdown, &tasks[0],
133 ti = &tasks[task_count];
/bind-9.11.3/bin/tests/tasks/
H A Dt_tasks.c383 static const char *a1 = "The task subsystem can create and manage tasks";
389 t_assert("tasks", 1, T_REQUIRED, "%s", a1);
522 t_info("Testing with %lu tasks\n", (unsigned long)ntasks);
581 static const char *a2 = "The task subsystem can create ISC_TASKS_MIN tasks";
585 t_assert("tasks", 2, T_REQUIRED, "%s", a2);
854 t_assert("tasks", 3, T_REQUIRED, "%s", a3);
1064 t_assert("tasks", 4, T_REQUIRED, "%s", a4);
1292 t_assert("tasks", 7, T_REQUIRED, "%s", a7);
1782 t_assert("tasks", 10, T_REQUIRED, "%s", a10);
2075 t_assert("tasks", 1
2276 isc_task_t *tasks[T14_NTASKS]; local
[all...]
/bind-9.11.3/bin/named/
H A Dstatschannel.c2642 json_object *tasks = json_object_new_object(); local
2643 CHECKMEM(tasks);
2645 result = isc_taskmgr_renderjson(ns_g_taskmgr, tasks);
2647 json_object_put(tasks);
2651 json_object_object_add(bindstats, "taskmgr", tasks);
3158 isc_httpdmgr_addurl(listener->httpdmgr, "/xml/v3/tasks",
3176 isc_httpdmgr_addurl(listener->httpdmgr, "/json/v1/tasks",
/bind-9.11.3/bin/dnssec/
H A Ddnssec-signzone.c1375 * Set up the iterator and global state before starting the tasks.
1387 * Clean up the iterator and global state after the tasks complete.
3125 isc_task_t **tasks = NULL; local
3765 tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
3766 if (tasks == NULL)
3769 tasks[i] = NULL;
3770 result = isc_task_create(taskmgr, 0, &tasks[i]);
3790 tasks[i]);
3802 isc_task_detach(&tasks[i]);
3804 isc_mem_put(mctx, tasks, ntask
[all...]

Completed in 125 milliseconds