Searched refs:pthread_create (Results 76 - 100 of 188) sorted by relevance

12345678

/openbsd-current/regress/lib/libpthread/socket/3/
H A Dsocket3.c82 CHECKr(pthread_create(&connect_thread, NULL, sock_connect,
118 CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
/openbsd-current/regress/sys/kern/unixsockets/
H A Dunconacc.c172 if ((error = pthread_create(&thr, NULL, thr_acc, &s)))
173 therrc(1, error, "pthread_create");
180 if ((error = pthread_create(&thr, NULL, thr_conn, &sun)))
181 therrc(1, error, "pthread_create");
H A Dundgram_conclose.c136 if ((error = pthread_create(&thr, NULL, thr_close, &sun)))
137 therrc(1, error, "pthread_create");
140 if ((error = pthread_create(&thr, NULL, thr_conn, &sun)))
141 therrc(1, error, "pthread_create");
/openbsd-current/gnu/llvm/llvm/lib/Support/Unix/
H A DThreading.inc85 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0)
86 ReportErrnumFatal("pthread_create failed", errnum);
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dmutex_test.cpp88 pthread_create(&Threads[I], 0, lockThread, &Data);
98 pthread_create(&Threads[I], 0, tryThread, &Data);
/openbsd-current/gnu/gcc/libmudflap/testsuite/libmudflap.cth/
H A Dpass39-frag.c42 rc = pthread_create (& threads[i], NULL, func, (void *) & counts[i]);
/openbsd-current/regress/lib/libpthread/earlysig/
H A Dearlysig.c45 if ((r = pthread_create(&tid, NULL, tmain, NULL)))
46 errc(1, r, "pthread_create");
/openbsd-current/regress/lib/libpthread/fork/
H A Dfork.c79 CHECKr(pthread_create(&sleeper_thread, NULL, sleeper, NULL));
/openbsd-current/regress/lib/libpthread/getaddrinfo/
H A Dgetaddrinfo.c52 CHECKr(pthread_create(&threads[i], &attr, func, NULL));
/openbsd-current/regress/lib/libpthread/pthread_specific/
H A Dpthread_specific.c82 CHECKr(pthread_create(&threads[i], NULL, run_thread, NULL));
/openbsd-current/regress/lib/libpthread/restart/accept/
H A Daccept.c53 CHECKr(pthread_create(&tid, NULL, thr_accept, NULL));
/openbsd-current/regress/lib/libpthread/restart/connect/
H A Dconnect.c58 CHECKr(pthread_create(&tid, NULL, thr_connect, NULL));
/openbsd-current/regress/lib/libpthread/restart/kevent/
H A Dkevent.c45 CHECKr(pthread_create(&tid, NULL, thr_kevent, NULL));
/openbsd-current/regress/lib/libpthread/restart/read/
H A Dread.c44 CHECKr(pthread_create(&tid, NULL, thr_read, NULL));
/openbsd-current/regress/lib/libpthread/restart/readv/
H A Dreadv.c48 CHECKr(pthread_create(&tid, NULL, thr_readv, NULL));
/openbsd-current/regress/lib/libpthread/restart/recvfrom/
H A Drecvfrom.c53 CHECKr(pthread_create(&tid, NULL, thr_recvfrom, NULL));
/openbsd-current/regress/lib/libpthread/restart/recvmsg/
H A Drecvmsg.c59 CHECKr(pthread_create(&tid, NULL, thr_recvmsg, NULL));
/openbsd-current/regress/lib/libpthread/socket/2a/
H A Dsocket2a.c38 * Description : Test pthread_create() and pthread_exit() calls.
106 CHECKr(pthread_create(&thread, NULL, sock_connect,
/openbsd-current/regress/lib/libc/stdio_threading/include/
H A Dlocal.h63 if ((r = pthread_create(&pthread[i], NULL, thread, arg))) {
/openbsd-current/regress/lib/libpthread/pthread_rwlock2/
H A Dpthread_rwlock2.c98 if (pthread_create(&(handlers[j]), NULL,
100 err(EXIT_FAILURE, "main: pthread_create");
/openbsd-current/regress/sys/kern/dup2_accept/
H A Ddup2_accept.c76 if ((error = pthread_create(&tr, NULL, dupper, NULL)))
77 errc(1, error, "pthread_create");
/openbsd-current/regress/lib/libpthread/barrier/
H A Dbarrier.c38 CHECKr(pthread_create(&thr[i], NULL, foo, (void *)b));
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_posix_test.cpp45 ASSERT_EQ(0, pthread_create(&tid, 0, &thread_func,
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/benchmarks/
H A Dmini_bench_local.cpp41 pthread_create(&t[i], 0, Thread, (void*)i);
H A Dmini_bench_shared.cpp43 pthread_create(&t[i], 0, Thread, (void*)i);

Completed in 212 milliseconds

12345678