Lines Matching refs:threads

246 	queue_iterate(&task->threads, thread, thread_t, task_threads) {
434 queue_init(&new_task->threads);
744 * Indicate that we want all the threads to stop executing
758 queue_iterate(&task->threads, thread, thread_t, task_threads) {
825 * We hold the task and mark all other threads in the task for
860 * Mark all the threads to keep them from starting any more
868 * Terminate all the other threads in the task.
870 queue_iterate(&task->threads, thread, thread_t, task_threads) {
885 * Complete task halt by waiting for threads to terminate, then clean
897 * Wait for the other threads to get shut down.
959 * Iterate through all the threads and hold them.
961 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1025 * Wait for all threads in task to stop.
1043 * Iterate through all the threads and wait for them to
1047 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1072 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1163 for (thread = (thread_t)queue_first(&task->threads); i < actual;
1169 assert(queue_end(&task->threads, (queue_entry_t)thread));
1178 /* no threads, so return null pointer and deallocate memory */
1234 * Put a kernel-level hold on the threads in the task (all
1236 * single kernel-level hold). We then wait for the threads
1356 * Suspends a task by placing a hold on its threads.
1728 queue_iterate(&task->threads, thread, thread_t, task_threads) {
1759 queue_iterate(&task->threads, thread, thread_t, task_threads) {
2040 queue_iterate(&task->threads, thread, thread_t, task_threads) {
2085 queue_iterate(&task->threads, thread, thread_t, task_threads) {
2139 queue_iterate(&task->threads, thread, thread_t, task_threads) {
2152 queue_iterate(&task->threads, thread, thread_t, task_threads) {
2163 queue_iterate(&task->threads, thread, thread_t, task_threads) {
2294 * processor set. Change contained threads if requested.
2313 * processor set, whether enabled or not. Change contained threads
2499 queue_iterate(&task->threads, thread, thread_t, task_threads) {