Lines Matching refs:repeat
245 int repeat;
247 for (repeat = REPEAT_COUNT; repeat > 0; repeat--)
332 int repeat;
334 for (repeat = REPEAT_COUNT; repeat > 0; repeat--)
439 int repeat;
441 for (repeat = REPEAT_COUNT; repeat > 0; repeat--)
530 int repeat;
532 for (repeat = 0; repeat <= REPEAT_COUNT; repeat++)
539 if (repeat == REPEAT_COUNT)
543 gl_thread_self (), repeat);
546 gl_rwlock_rdlock (fire_signal[repeat]);
548 gl_rwlock_unlock (fire_signal[repeat]);
551 while (fire_signal_state <= repeat)
555 gl_thread_self (), repeat);
567 int i, repeat;
591 for (repeat = 0; repeat <= REPEAT_COUNT; repeat++)
594 dbgprintf ("Main thread before synchonizing for round %d\n", repeat);
608 dbgprintf ("Main thread after synchonizing for round %d\n", repeat);
610 if (repeat > 0)
618 if (repeat == REPEAT_COUNT)
636 dbgprintf ("Main thread giving signal for round %d\n", repeat);
638 gl_rwlock_unlock (fire_signal[repeat]);
640 fire_signal_state = repeat + 1;