/sysdeps/pthread/ |
A D | tst-join4.c | 63 pthread_t th[2]; in do_test() local 65 if (pthread_create (&th[0], &a, tf, NULL) != 0) in do_test() 77 if (pthread_create (&th[1], &a, tf, NULL) != 0) in do_test() 89 if (pthread_detach (th[0]) != 0) in do_test() 95 int err = pthread_detach (th[0]); in do_test() 107 err = pthread_detach (th[1]); in do_test()
|
A D | tst-cancel18.c | 71 pthread_t th; in do_test() local 72 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 90 if (pthread_cancel (th) != 0) in do_test() 97 if (pthread_join (th, &status) != 0) in do_test() 124 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 131 if (pthread_cancel (th) != 0) in do_test() 144 if (pthread_join (th, &status) != 0) in do_test()
|
A D | tst-fini1mod.c | 41 static pthread_t th; variable 47 if (pthread_cancel (th) != 0) in dest() 53 if (pthread_join (th, &r) != 0) in dest() 65 if (pthread_create (&th, NULL, tf, NULL) != 0) in m()
|
A D | tst-cancel6.c | 51 pthread_t th; in do_test() local 52 if (pthread_create (&th, NULL, tf, fp) != 0) in do_test() 60 if (pthread_cancel (th) != 0) in do_test() 67 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-detach1.c | 34 pthread_t th; in do_test() local 35 if (pthread_create (&th, NULL, tf, (void *) pthread_self ()) != 0) in do_test() 44 if (pthread_detach (th) != 0) in do_test()
|
A D | tst-stdio1.c | 39 pthread_t th; in do_test() local 43 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 50 xpthread_join (th); in do_test()
|
A D | tst-cancel2.c | 43 pthread_t th; in do_test() local 63 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 69 if (pthread_cancel (th) != 0) in do_test() 78 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-cancel3.c | 45 pthread_t th; in do_test() local 65 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 71 if (pthread_cancel (th) != 0) in do_test() 80 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-join3.c | 52 pthread_t th = xpthread_create (NULL, tf, NULL); in do_test_clock() local 60 val = pthread_timedjoin_np (th, &status, &timeout); in do_test_clock() 62 val = pthread_clockjoin_np (th, &status, clockid, &timeout); in do_test_clock() 74 val = pthread_timedjoin_np (th, &status, &timeout); in do_test_clock() 76 val = pthread_clockjoin_np (th, &status, clockid, &timeout); in do_test_clock()
|
A D | tst-signal5.c | 70 pthread_t th; in do_test() local 71 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 78 if (pthread_join (th, &r) != 0) in do_test() 93 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 99 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-tsd6.c | 46 pthread_t th; in do_test() local 47 if (pthread_create (&th, NULL, tf, &b) != 0) in do_test() 58 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 65 pthread_join (th, &res); in do_test() 83 pthread_join (th, NULL); in do_test()
|
A D | tst-exit3.c | 30 pthread_t th; in tf() local 39 e = pthread_create (&th, NULL, tf2, NULL); in tf() 54 pthread_t th; in do_test() local 62 int e = pthread_create (&th, NULL, tf, NULL); in do_test()
|
A D | tst-join2.c | 45 pthread_t th; in do_test() local 53 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 60 int val = pthread_tryjoin_np (th, &status); in do_test() 78 while ((val = pthread_tryjoin_np (th, &status)) != 0) in do_test()
|
A D | tst-pt-tls1.c | 94 pthread_t th[M]; in do_test() local 97 th[j] = xpthread_create (&a, tf, NULL); in do_test() 100 xpthread_join (th[j]); in do_test() 105 pthread_t th; in do_test() local 109 th = xpthread_create (&a, tf, NULL); in do_test() 110 xpthread_join (th); in do_test()
|
A D | tst-once4.c | 109 pthread_t th[2]; in do_test() local 117 if (pthread_create (&th[0], NULL, tf1, NULL) != 0) in do_test() 143 if (pthread_create (&th[1], NULL, tf2, NULL) != 0) in do_test() 160 if (pthread_cancel (th[0]) != 0) in do_test() 167 pthread_join (th[0], &result); in do_test() 176 pthread_join (th[1], &result); in do_test()
|
A D | tst-join5.c | 101 pthread_t th; in do_test() local 115 th = xpthread_create (NULL, tf1, (void *) pthread_self ()); in do_test() 121 xpthread_cancel (th); in do_test() 128 err = thread_join (th, &r); in do_test() 152 th = xpthread_create (NULL, tf2, (void *) pthread_self ()); in do_test() 158 xpthread_cancel (th); in do_test() 164 if (thread_join (th, &r) != 0) in do_test()
|
A D | tst-pt-align.c | 47 pthread_t th; in do_test() local 48 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 55 if (pthread_join (th, &res) != 0) in do_test()
|
A D | tst-cancel26.c | 50 pthread_t th; in do_test() local 52 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 58 if (pthread_join (th, NULL) != 0) in do_test()
|
A D | tst-kill1.c | 54 pthread_t th; in do_test() local 62 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 83 if (pthread_kill (th, SIGUSR1) != 0) in do_test() 90 pthread_join (th, NULL); in do_test()
|
A D | tst-cancel12.c | 69 pthread_t th; in do_test() local 85 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 91 if (pthread_cancel (th) != 0) in do_test() 105 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-cancel13.c | 69 pthread_t th; in do_test() local 85 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 102 if (pthread_cancel (th) != 0) in do_test() 109 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-cancel11.c | 70 pthread_t th; in do_test() local 84 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 97 if (pthread_cancel (th) != 0) in do_test() 104 if (pthread_join (th, &r) != 0) in do_test()
|
A D | tst-join7mod.c | 26 static pthread_t th; variable 41 int ret = pthread_create (&th, NULL, test_run, NULL); in do_init() 54 int ret = pthread_join (th, NULL); in do_end()
|
A D | tst-join14.c | 51 pthread_t th = xpthread_create (NULL, tf, NULL); in do_test_clock() local 55 ? pthread_timedjoin_np (th, &status, NULL) in do_test_clock() 56 : pthread_clockjoin_np (th, &status, clockid, NULL); in do_test_clock()
|
A D | tst-stdio2.c | 58 pthread_t th; in do_test() local 60 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test() 67 if (pthread_join (th, &result) != 0) in do_test()
|