Lines Matching refs:threads
242 queue_iterate(&task->threads, thread, thread_t, task_threads) {
353 queue_init(&new_task->threads);
575 * Indicate that we want all the threads to stop executing
589 queue_iterate(&task->threads, thread, thread_t, task_threads) {
668 * We hold the task, terminate all other threads in the task and
701 * Mark all the threads to keep them from starting any more
709 * Terminate all the other threads in the task.
711 queue_iterate(&task->threads, thread, thread_t, task_threads) {
770 * Iterate through all the threads and hold them.
772 queue_iterate(&task->threads, thread, thread_t, task_threads) {
814 * Wait for all threads in task to stop.
831 * Iterate through all the threads and wait for them to
835 queue_iterate(&task->threads, thread, thread_t, task_threads) {
860 queue_iterate(&task->threads, thread, thread_t, task_threads) {
951 for (thread = (thread_t)queue_first(&task->threads); i < actual;
957 assert(queue_end(&task->threads, (queue_entry_t)thread));
966 /* no threads, so return null pointer and deallocate memory */
1039 * Put a kernel-level hold on the threads in the task (all
1041 * single kernel-level hold). We then wait for the threads
1282 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1313 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1448 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1488 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1494 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1501 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1618 * processor set. Change contained threads if requested.
1637 * processor set, whether enabled or not. Change contained threads