Lines Matching refs:round

37   long int round = (long int) arg;  in tf()  local
41 printf ("%ld: setcancelstate failed\n", round); in tf()
48 printf ("%ld: child: mutex_lock m1 failed with error %d\n", round, e); in tf()
55 printf ("%ld: child: mutex_lock m2 failed with error %d\n", round, e); in tf()
62 printf ("%ld: child: 1st barrier_wait failed\n", round); in tf()
69 printf ("%ld: child: 2nd barrier_wait failed\n", round); in tf()
75 printf ("%ld: testcancel returned\n", round); in tf()
142 for (long int round = 1; round < 5; ++round) in do_test() local
158 if (pthread_create (&th, NULL, tf, (void *) round) != 0) in do_test()
160 printf ("%ld: create failed\n", round); in do_test()
167 printf ("%ld: parent: 1st barrier_wait failed\n", round); in do_test()
173 printf ("%ld: cancel failed\n", round); in do_test()
180 printf ("%ld: parent: 2nd barrier_wait failed\n", round); in do_test()
185 if (round & 1) in do_test()
191 printf ("%ld: join failed\n", round); in do_test()
196 printf ("%ld: thread not canceled\n", round); in do_test()
204 printf ("%ld: parent: mutex_lock m1 succeeded\n", round); in do_test()
209 printf ("%ld: parent: mutex_lock m1 returned wrong code\n", round); in do_test()
216 printf ("%ld: parent: mutex_lock m2 succeeded\n", round); in do_test()
221 printf ("%ld: parent: mutex_lock m2 returned wrong code\n", round); in do_test()
226 if ((round & 1) == 0) in do_test()
231 printf ("%ld: join failed\n", round); in do_test()
236 printf ("%ld: thread not canceled\n", round); in do_test()
246 printf ("%ld: mutex_consistent m1 failed with error %d\n", round, e); in do_test()
253 printf ("%ld: mutex_consistent m2 failed with error %d\n", round, e); in do_test()
261 printf ("%ld: mutex_unlock m1 failed with %d\n", round, e); in do_test()
268 printf ("%ld: mutex_unlock m2 failed with %d\n", round, e); in do_test()
276 printf ("%ld: locking inconsistent mutex m1 succeeded\n", round); in do_test()
282 round, e); in do_test()
295 printf ("%ld: locking inconsistent mutex m2 succeeded\n", round); in do_test()
301 round, e); in do_test()