Lines Matching defs:inc
123 thread_t inc, thread = THREAD_NULL;
133 for (inc = (thread_t)queue_first(&task->threads);
134 !queue_end(&task->threads, (queue_entry_t)inc); ) {
135 thread_mtx_lock(inc);
136 if (inc->active &&
137 (inc->sched_mode & TH_MODE_ISABORTED) != TH_MODE_ABORT) {
138 thread = inc;
141 thread_mtx_unlock(inc);
143 inc = (thread_t)queue_next(&inc->task_threads);
171 thread_t inc;
181 for (inc = (thread_t)queue_first(&task->threads);
182 !queue_end(&task->threads, (queue_entry_t)inc); ) {
183 if (inc == thread) {
184 thread_mtx_lock(inc);
186 if (inc->active &&
187 (inc->sched_mode & TH_MODE_ISABORTED) != TH_MODE_ABORT) {
192 thread_mtx_unlock(inc);
196 inc = (thread_t)queue_next(&inc->task_threads);
250 thread_t inc;
254 for (inc = (thread_t)queue_first(&task->threads);
255 !queue_end(&task->threads, (queue_entry_t)inc); inc = (thread_t)queue_next(&inc->task_threads))
257 if(inc->active)
482 thread_t inc;
486 for (inc = (thread_t)queue_first(&task->threads);
487 !queue_end(&task->threads, (queue_entry_t)inc); ) {
488 (void) (*func_callback)(inc, func_arg);
489 inc = (thread_t)queue_next(&inc->task_threads);