Home
last modified time | relevance | path

Searched refs:pthread_create (Results 1 – 25 of 211) sorted by relevance

123456789

/openbsd-src/gnu/llvm/libunwind/src/
H A DRWMutex.hpp78 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 Dcancel_wait.c68 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 Dpreemption_float.c106 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 Dcancel2.c88 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 Dmf-hooks3.c74 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 Dstack.c98 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 Dcancel.c198 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 Dblocked_fifo.c100 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 Dblocked_join.c50 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 Dasan_racy_double_free_test.cpp28 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 Dsocket2.c126 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 Dmalloc_threaderr.c63 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 Dhwasan_interceptors.cpp40 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 Dsocket1.c143 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 Dsetjmp.c83 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 Dpthread_join.c45 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 Dexecve.c91 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 Dclose_race.c62 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 Dunsopassgc.c289 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 Ddup2_race.c62 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 Dtest-close.c55 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 Dpthread_atfork.c112 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 Dsem_destroy.c33 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 Dstdarg.c83 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 Dpthread4.cc101 pthread_create (&prod, NULL, produce, NULL); in main()
103 pthread_create (&cons, NULL, consume, NULL); in main()

123456789