Lines Matching refs:inc
130 thread_t inc, thread = THREAD_NULL;
140 for (inc = (thread_t)queue_first(&task->threads);
141 !queue_end(&task->threads, (queue_entry_t)inc); ) {
142 thread_mtx_lock(inc);
143 if (inc->active &&
144 (inc->sched_flags & TH_SFLAG_ABORTED_MASK) != TH_SFLAG_ABORT) {
145 thread = inc;
148 thread_mtx_unlock(inc);
150 inc = (thread_t)queue_next(&inc->task_threads);
178 thread_t inc;
188 for (inc = (thread_t)queue_first(&task->threads);
189 !queue_end(&task->threads, (queue_entry_t)inc); ) {
190 if (inc == thread) {
191 thread_mtx_lock(inc);
193 if (inc->active &&
194 (inc->sched_flags & TH_SFLAG_ABORTED_MASK) != TH_SFLAG_ABORT) {
199 thread_mtx_unlock(inc);
203 inc = (thread_t)queue_next(&inc->task_threads);
262 thread_t inc;
266 for (inc = (thread_t)queue_first(&task->threads);
267 !queue_end(&task->threads, (queue_entry_t)inc); inc = (thread_t)queue_next(&inc->task_threads))
269 if(inc->active)
532 thread_t inc;
536 for (inc = (thread_t)queue_first(&task->threads);
537 !queue_end(&task->threads, (queue_entry_t)inc); ) {
538 (void) (*func_callback)(inc, func_arg);
539 inc = (thread_t)queue_next(&inc->task_threads);