Lines Matching refs:pool
28 * \brief A task pool is a mechanism for sharing a small number of tasks
64 * Create a task pool of "ntasks" tasks, each with quantum
77 *\li On success, '*taskp' points to the new task pool.
87 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp);
89 * Attach to a task from the pool. Currently the next task is chosen
90 * from the pool at random. (This may be changed in the future to
95 isc_taskpool_size(isc_taskpool_t *pool);
97 * Returns the number of tasks in the task pool 'pool'.
105 * If 'size' is larger than the number of tasks in the pool pointed to by
108 * total number up to 'size', and the resulting pool is attached to
111 * If 'size' is less than or equal to the tasks in pool 'source', then
123 * \li On success, '*targetp' points to a valid task pool.
135 * Destroy a task pool. The tasks in the pool are detached but not
139 * \li '*poolp' is a valid task pool.
143 isc_taskpool_setprivilege(isc_taskpool_t *pool, isc_boolean_t priv);
145 * Set the privilege flag on all tasks in 'pool' to 'priv'. If 'priv' is
147 * tasks wihin this pool will be able to execute. (Note: It is important
148 * to turn the pool tasks' privilege back off before the last task finishes
152 * \li 'pool' is a valid task pool.