Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 111) sorted by relevance

12345

/sysdeps/pthread/
A Dtst-join4.c63 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 Dtst-cancel18.c71 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 Dtst-fini1mod.c41 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 Dtst-cancel6.c51 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 Dtst-detach1.c34 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 Dtst-stdio1.c39 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 Dtst-cancel2.c43 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 Dtst-cancel3.c45 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 Dtst-join3.c52 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 Dtst-signal5.c70 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 Dtst-tsd6.c46 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 Dtst-exit3.c30 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 Dtst-join2.c45 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 Dtst-pt-tls1.c94 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 Dtst-once4.c109 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 Dtst-join5.c101 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 Dtst-pt-align.c47 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 Dtst-cancel26.c50 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 Dtst-kill1.c54 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 Dtst-cancel12.c69 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 Dtst-cancel13.c69 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 Dtst-cancel11.c70 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 Dtst-join7mod.c26 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 Dtst-join14.c51 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 Dtst-stdio2.c58 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()

Completed in 21 milliseconds

12345