Lines Matching defs:inc
134 thread_t inc, thread = THREAD_NULL;
144 for (inc = (thread_t)(void *)queue_first(&task->threads);
145 !queue_end(&task->threads, (queue_entry_t)inc); ) {
146 thread_mtx_lock(inc);
147 if (inc->active &&
148 (inc->sched_flags & TH_SFLAG_ABORTED_MASK) != TH_SFLAG_ABORT) {
149 thread = inc;
152 thread_mtx_unlock(inc);
154 inc = (thread_t)(void *)queue_next(&inc->task_threads);
182 thread_t inc;
192 for (inc = (thread_t)(void *)queue_first(&task->threads);
193 !queue_end(&task->threads, (queue_entry_t)inc); ) {
194 if (inc == thread) {
195 thread_mtx_lock(inc);
197 if (inc->active &&
198 (inc->sched_flags & TH_SFLAG_ABORTED_MASK) != TH_SFLAG_ABORT) {
203 thread_mtx_unlock(inc);
207 inc = (thread_t)(void *)queue_next(&inc->task_threads);
266 thread_t inc;
270 for (inc = (thread_t)(void *)queue_first(&task->threads);
271 !queue_end(&task->threads, (queue_entry_t)inc); inc = (thread_t)(void *)queue_next(&inc->task_threads))
273 if(inc->active)
568 thread_t inc;
572 for (inc = (thread_t)(void *)queue_first(&task->threads);
573 !queue_end(&task->threads, (queue_entry_t)inc); ) {
574 (void) (*func_callback)(inc, func_arg);
575 inc = (thread_t)(void *)queue_next(&inc->task_threads);