Lines Matching refs:n
68 int n; in writer_thread() local
70 for (n = 0; n < WRITETRIES; ++n) in writer_thread()
115 int n; in reader_thread() local
117 for (n = 0; n < READTRIES; ++n) in reader_thread()
156 int n; in do_test_clock() local
175 for (n = 0; n < NWRITERS; ++n) { in do_test_clock()
176 wargs[n].nr = n; in do_test_clock()
177 wargs[n].clockid = clockid; in do_test_clock()
178 wargs[n].fnname = fnname; in do_test_clock()
179 thwr[n] = xpthread_create (NULL, writer_thread, &wargs[n]); in do_test_clock()
183 for (n = 0; n < NREADERS; ++n) { in do_test_clock()
184 rargs[n].nr = n; in do_test_clock()
185 rargs[n].clockid = clockid; in do_test_clock()
186 rargs[n].fnname = fnname; in do_test_clock()
187 thrd[n] = xpthread_create (NULL, reader_thread, &rargs[n]); in do_test_clock()
191 for (n = 0; n < NWRITERS; ++n) in do_test_clock()
192 xpthread_join (thwr[n]); in do_test_clock()
193 for (n = 0; n < NREADERS; ++n) in do_test_clock()
194 xpthread_join (thrd[n]); in do_test_clock()