Home
last modified time | relevance | path

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

12

/nptl/
A Dpthread_setaffinity.c26 __pthread_setaffinity_new (pthread_t th, size_t cpusetsize, in __pthread_setaffinity_new() argument
29 const struct pthread *pd = (const struct pthread *) th; in __pthread_setaffinity_new()
49 __pthread_setaffinity_old (pthread_t th, cpu_set_t *cpuset) in __pthread_setaffinity_old() argument
52 return __pthread_setaffinity_new (th, 128, cpuset); in __pthread_setaffinity_old()
A Dtst-cancel17.c117 pthread_t th; in do_test() local
118 if (pthread_create (&th, NULL, tf, &a) != 0) in do_test()
136 if (pthread_cancel (th) != 0) in do_test()
143 if (pthread_join (th, &status) != 0) in do_test()
186 if (pthread_cancel (th) != 0) in do_test()
192 if (pthread_join (th, &status) != 0) in do_test()
247 if (pthread_create (&th, NULL, tf, ap) != 0) in do_test()
254 if (pthread_cancel (th) != 0) in do_test()
267 if (pthread_join (th, &status) != 0) in do_test()
298 if (pthread_cancel (th) != 0) in do_test()
[all …]
A Dtst-cancel24.cc63 pthread_t th; in do_test() local
64 if (pthread_create (&th, NULL, tf, &s) != 0) in do_test()
77 if (pthread_cancel (th) != 0) in do_test()
84 if (pthread_join (th, &res) != 0) in do_test()
A Dpthread_getaffinity.c29 __pthread_getaffinity_np (pthread_t th, size_t cpusetsize, cpu_set_t *cpuset) in __pthread_getaffinity_np() argument
31 const struct pthread *pd = (const struct pthread *) th; in __pthread_getaffinity_np()
55 __pthread_getaffinity_old (pthread_t th, cpu_set_t *cpuset) in __pthread_getaffinity_old() argument
58 return __pthread_getaffinity_np (th, 128, cpuset); in __pthread_getaffinity_old()
A Dtst-sem11.c25 pthread_t th; in main() local
47 if (pthread_create (&th, NULL, tf, &u.s) != 0) in main()
55 if (pthread_cancel (th) != 0) in main()
62 if (pthread_join (th, &r) != 0) in main()
A Dtst-stack2.c50 pthread_t th; in do_test() local
51 res = pthread_create (&th, &attr, tf, NULL); in do_test()
59 res = pthread_join (th, NULL); in do_test()
A Dtst-tsd4.c72 pthread_t th; in do_test() local
73 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test()
79 if (pthread_join (th, NULL) != 0) in do_test()
A Dtst-sched1.c38 pthread_t th; in do_test() local
72 if (pthread_create (&th, &at, tf, NULL) != 0) in do_test()
78 int e = pthread_join (th, NULL); in do_test()
A Dtst-eintr1.c42 pthread_t th = xpthread_create (NULL, tf2, NULL); in tf1() local
43 xpthread_join (th); in tf1()
A Dtst-stack3.c68 pthread_t th; in do_test() local
69 res = pthread_create (&th, &attr, tf, NULL); in do_test()
77 res = pthread_join (th, NULL); in do_test()
A Dtst-tsd3.c95 pthread_t th; in do_test() local
96 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test()
102 if (pthread_join (th, NULL) != 0) in do_test()
A Dtst-cond22.c65 pthread_t th; in do_test() local
66 if (pthread_create (&th, NULL, tf, NULL) != 0) in do_test()
87 if (pthread_cancel (th) != 0) in do_test()
98 if (pthread_join (th, &res) != 0) in do_test()
118 if (pthread_create (&th, NULL, tf, (void *) 1l) != 0) in do_test()
144 if (pthread_join (th, &res) != 0) in do_test()
A Dpthread_detach.c24 ___pthread_detach (pthread_t th) in ___pthread_detach() argument
26 struct pthread *pd = (struct pthread *) th; in ___pthread_detach()
A Dtst-exec4.c94 pthread_t th; in do_test() local
95 if (pthread_create (&th, NULL, tf, argv) != 0) in do_test()
102 pthread_join (th, NULL); in do_test()
A Dtst-cleanup4.c161 pthread_t th; in do_test() local
162 if (pthread_create (&th, NULL, tf, (void *) i) != 0) in do_test()
175 pthread_cancel (th); in do_test()
178 if ((e = pthread_join (th, &r)) != 0) in do_test()
A Dpthread_cancel.c60 __pthread_cancel (pthread_t th) in __pthread_cancel() argument
62 volatile struct pthread *pd = (volatile struct pthread *) th; in __pthread_cancel()
117 return __pthread_kill_internal (th, SIGCANCEL); in __pthread_cancel()
A Dcond-perf.c70 pthread_t th[nthreads]; in main() local
73 if (__glibc_unlikely ((err = pthread_create (&th[i], NULL, cons, (void *) (long) i)) != 0)) in main()
99 if ((err = pthread_join (th[i], NULL)) != 0) in main()
A Dpthread_setname.c31 __pthread_setname_np (pthread_t th, const char *name) in __pthread_setname_np() argument
33 const struct pthread *pd = (const struct pthread *) th; in __pthread_setname_np()
A Dtst-tls3.c38 static pthread_t th[N]; variable
50 if (th[n] != pthread_self ()) \
153 if (pthread_create (&th[i], &a, tf, cbs[i]) != 0) in do_test()
199 if (pthread_join (th[i], NULL) != 0) in do_test()
A Dtst-barrier5.c118 pthread_t th[N - 1]; in do_test() local
120 if (pthread_create (&th[cnt], &at, tf, NULL) != 0) in do_test()
135 if (pthread_join (th[cnt], NULL) != 0) in do_test()
A Dtst-exec5.c98 pthread_t th = xpthread_create (NULL, &tf, NULL); in do_test() local
100 if (pthread_cancel (th) != 0) in do_test()
108 if (xpthread_join (th) == PTHREAD_CANCELED) in do_test()
A Dpthread_getname.c30 __pthread_getname_np (pthread_t th, char *buf, size_t len) in __pthread_getname_np() argument
32 const struct pthread *pd = (const struct pthread *) th; in __pthread_getname_np()
A Dtst-mutex8.c210 pthread_t th; in check_type() local
211 if (pthread_create (&th, NULL, tf, NULL) != 0) in check_type()
263 if (pthread_join (th, &r) != 0) in check_type()
286 if (pthread_create (&th, NULL, tf, (void *) 1) != 0) in check_type()
331 if (pthread_cancel (th) != 0) in check_type()
337 if (pthread_join (th, &r) != 0) in check_type()
A Dtst-attr3.c338 pthread_t th; in do_test() local
339 err = pthread_create (&th, NULL, tf, NULL); in do_test()
348 err = pthread_join (th, &ret); in do_test()
373 err = pthread_create (&th, &a, tf, &a); in do_test()
383 err = pthread_join (th, &ret); in do_test()
408 err = pthread_create (&th, &a, tf, &a); in do_test()
418 err = pthread_join (th, &ret); in do_test()
A Dtst-stackguard1.c82 pthread_t th[4]; in do_test() local
85 if (pthread_create (&th[i], NULL, tf, NULL)) in do_test()
91 if (pthread_join (th[i], &ret)) in do_test()

Completed in 18 milliseconds

12