/nptl/ |
A D | pthread_setaffinity.c | 26 __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 D | tst-cancel17.c | 117 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 D | tst-cancel24.cc | 63 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 D | pthread_getaffinity.c | 29 __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 D | tst-sem11.c | 25 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 D | tst-stack2.c | 50 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 D | tst-tsd4.c | 72 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 D | tst-sched1.c | 38 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 D | tst-eintr1.c | 42 pthread_t th = xpthread_create (NULL, tf2, NULL); in tf1() local 43 xpthread_join (th); in tf1()
|
A D | tst-stack3.c | 68 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 D | tst-tsd3.c | 95 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 D | tst-cond22.c | 65 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 D | pthread_detach.c | 24 ___pthread_detach (pthread_t th) in ___pthread_detach() argument 26 struct pthread *pd = (struct pthread *) th; in ___pthread_detach()
|
A D | tst-exec4.c | 94 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 D | tst-cleanup4.c | 161 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 D | pthread_cancel.c | 60 __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 D | cond-perf.c | 70 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 D | pthread_setname.c | 31 __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 D | tst-tls3.c | 38 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 D | tst-barrier5.c | 118 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 D | tst-exec5.c | 98 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 D | pthread_getname.c | 30 __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 D | tst-mutex8.c | 210 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 D | tst-attr3.c | 338 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 D | tst-stackguard1.c | 82 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()
|