| /openbsd-src/gnu/llvm/libunwind/src/ |
| H A D | RWMutex.hpp | 78 pthread_create(pthread_t *thread, const pthread_attr_t *attr, 94 return !pthread_create || (pthread_rwlock_rdlock(&_lock) == 0); 97 return !pthread_create || (pthread_rwlock_unlock(&_lock) == 0); 100 return !pthread_create || (pthread_rwlock_wrlock(&_lock) == 0); 103 return !pthread_create || (pthread_rwlock_unlock(&_lock) == 0);
|
| /openbsd-src/regress/lib/libpthread/cancel_wait/ |
| H A D | cancel_wait.c | 68 CHECKr(pthread_create(&thread, NULL, wait_thread, NULL)); in main() 76 CHECKr(pthread_create(&thread, NULL, waitpid_thread, NULL)); in main() 84 CHECKr(pthread_create(&thread, NULL, wait3_thread, NULL)); in main() 92 CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL)); in main() 101 CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL)); in main()
|
| /openbsd-src/regress/lib/libpthread/preemption_float/ |
| H A D | preemption_float.c | 106 CHECKr(pthread_create (&thread[0], NULL, trig_loop, NULL)); in floatloop() 107 CHECKr(pthread_create (&thread[1], NULL, log_loop, NULL)); in floatloop() 124 CHECKr(pthread_create (&thread, NULL, trig_loop, NULL)); in main() 131 CHECKr(pthread_create (&thread, NULL, log_loop, NULL)); in main()
|
| /openbsd-src/regress/lib/libpthread/cancel2/ |
| H A D | cancel2.c | 88 CHECKr(pthread_create(&thread, NULL, select_thread, pipe_fd)); in main() 95 CHECKr(pthread_create(&thread, NULL, pselect_thread, pipe_fd)); in main() 102 CHECKr(pthread_create(&thread, NULL, poll_thread, pipe_fd)); in main() 109 CHECKr(pthread_create(&thread, NULL, ppoll_thread, pipe_fd)); in main()
|
| /openbsd-src/gnu/gcc/libmudflap/ |
| H A D | mf-hooks3.c | 74 DECLARE(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, 273 #undef pthread_create 274 WRAPPER(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, in WRAPPER() argument 287 return CALL_REAL (pthread_create, thr, attr, __mf_pthread_spawner, si); in WRAPPER()
|
| /openbsd-src/regress/lib/libpthread/stack/ |
| H A D | stack.c | 98 CHECKr(pthread_create(&t, NULL, &tmain0, NULL)); in main() 111 CHECKr(pthread_create(&t, NULL, &tmain0, NULL)); in main() 126 CHECKr(pthread_create(&t, &attr, &tmain1, NULL)); in main() 163 CHECKr(pthread_create(&t, &attr, &tmain2, &thread_stack)); in main()
|
| /openbsd-src/regress/lib/libpthread/cancel/ |
| H A D | cancel.c | 198 CHECKr(pthread_create(&child1, NULL, child1fn, NULL)); in main() 199 CHECKr(pthread_create(&child2, NULL, child2fn, NULL)); in main() 212 CHECKr(pthread_create(&child3, NULL, child3fn, NULL)); in main() 216 CHECKr(pthread_create(&child4, NULL, child4fn, NULL)); in main()
|
| /openbsd-src/regress/lib/libpthread/blocked_fifo/ |
| H A D | blocked_fifo.c | 100 CHECKr(pthread_create(&deadlock_finder, NULL, in main() 107 CHECKr(pthread_create(&test_thread, NULL, fifo_deadlocker, NULL)); in main() 126 CHECKr(pthread_create(&test_thread, NULL, fifo_closer, NULL)); in main()
|
| /openbsd-src/regress/lib/libpthread/blocked_join/ |
| H A D | blocked_join.c | 50 CHECKr(pthread_create(&d, NULL, deadlock_detector, NULL)); in main() 51 CHECKr(pthread_create(&t, NULL, joiner, &self)); in main()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/tests/ |
| H A D | asan_racy_double_free_test.cpp | 28 pthread_create(&t[0], 0, Thread1, 0); in main() 29 pthread_create(&t[1], 0, Thread2, 0); in main()
|
| /openbsd-src/regress/lib/libpthread/socket/2/ |
| H A D | socket2.c | 126 CHECKr(pthread_create(&wthread, NULL, waiter, NULL)); in sock_accept() 155 CHECKr(pthread_create(&thread, NULL, sock_write, &fd)); in sock_accept() 183 CHECKr(pthread_create(&thread, NULL, sock_accept, in main()
|
| /openbsd-src/regress/lib/libc/malloc/malloc_threaderr/ |
| H A D | malloc_threaderr.c | 63 if (pthread_create(&t1, NULL, m, NULL)) in main() 67 if (pthread_create(&t2, NULL, f, NULL)) in main()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/ |
| H A D | hwasan_interceptors.cpp | 40 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), in INTERCEPTOR() argument 46 int res = REAL(pthread_create)(th, attr, &HwasanThreadStartFunc, A); in INTERCEPTOR() 246 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
|
| /openbsd-src/regress/lib/libpthread/socket/1/ |
| H A D | socket1.c | 143 CHECKr(pthread_create(&thread, &attr, sock_connect, in sock_accept() 158 CHECKr(pthread_create(&thread, &attr, sock_write, &fd)); in sock_accept() 186 CHECKr(pthread_create(&thread, &attr, sock_accept, in main()
|
| /openbsd-src/regress/lib/libpthread/setjmp/ |
| H A D | setjmp.c | 83 CHECKr(pthread_create(&child, NULL, jump, NULL)); in main() 87 CHECKr(pthread_create(&child, NULL, _jump, NULL)); in main()
|
| /openbsd-src/regress/lib/libpthread/signals/pthread_join/ |
| H A D | pthread_join.c | 45 CHECKr(pthread_create(&tid[0], NULL, thr_sleep, NULL)); in main() 46 CHECKr(pthread_create(&tid[1], NULL, thr_join, &tid[0])); in main()
|
| /openbsd-src/regress/lib/libpthread/execve/ |
| H A D | execve.c | 91 CHECKr(pthread_create(&t1, NULL, other, "Should see this too")); in main() 99 CHECKr(pthread_create(&t1, NULL, other, "failed!")); in main()
|
| /openbsd-src/regress/lib/libpthread/close_race/ |
| H A D | close_race.c | 62 CHECKr(pthread_create(&deadlock_thread, NULL, in main() 68 CHECKr(pthread_create(&busy_threads[j], NULL, in main()
|
| /openbsd-src/regress/sys/kern/unixsockets/ |
| H A D | unsopassgc.c | 289 error = pthread_create(&thr, NULL, in main() 293 error = pthread_create(&thr, NULL, in main() 297 error = pthread_create(&thr, NULL, in main() 303 if ((error = pthread_create(&thr, NULL, thr_gc, thr_gc_arg))) in main()
|
| /openbsd-src/regress/lib/libpthread/dup2_race/ |
| H A D | dup2_race.c | 62 CHECKr(pthread_create(&deadlock_thread, NULL, in main() 70 CHECKr(pthread_create(&busy_threads[j], NULL, in main()
|
| /openbsd-src/regress/sys/kern/pipe/ |
| H A D | test-close.c | 55 error = pthread_create(&th1, NULL, close_thread, &ctx1); in test_close_race() 60 error = pthread_create(&th2, NULL, close_thread, &ctx2); in test_close_race()
|
| /openbsd-src/regress/lib/libpthread/pthread_atfork/ |
| H A D | pthread_atfork.c | 112 CHECKr(pthread_create(&tid, NULL, forker1, NULL)); in main() 115 CHECKr(pthread_create(&tid, NULL, forker2, NULL)); in main()
|
| /openbsd-src/regress/lib/libpthread/semaphore/sem_destroy/ |
| H A D | sem_destroy.c | 33 CHECKr(pthread_create(&prod_th, NULL, producer, &counter)); in main() 34 CHECKr(pthread_create(&cons_th, NULL, consumer, &counter)); in main()
|
| /openbsd-src/regress/lib/libpthread/stdarg/ |
| H A D | stdarg.c | 83 CHECKr(pthread_create(&t1, NULL, run_test, "child 1")); in main() 84 CHECKr(pthread_create(&t2, NULL, run_test, "child 2")); in main()
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/thread/ |
| H A D | pthread4.cc | 101 pthread_create (&prod, NULL, produce, NULL); in main() 103 pthread_create (&cons, NULL, consume, NULL); in main()
|