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