Searched refs:pthread_create (Results 1 - 25 of 188) sorted by relevance

12345678

/openbsd-current/regress/lib/libpthread/pthread_create/
H A DMakefile3 PROG= pthread_create
H A Dpthread_create.c1 /* $OpenBSD: pthread_create.c,v 1.3 2003/07/31 21:48:05 deraadt Exp $ */
38 * Test pthread_create() and pthread_exit() calls.
64 CHECKr(pthread_create(&thread, NULL, new_thread,
/openbsd-current/gnu/llvm/libunwind/src/
H A DRWMutex.hpp78 pthread_create(pthread_t *thread, const pthread_attr_t *attr,
87 // Calls to the locking functions are gated on pthread_create, and not the
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-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/
H A Dkilled.c41 pthread_create (&child, 0, child_func, 0);
H A Dswitch-threads.c43 pthread_create (&thr, NULL, thread_func, NULL);
H A Dthread-specific.c36 res = pthread_create(&threads[0],
H A Dmanythreads.c55 pthread_create (&threads[j], &attr, thread_function,
H A Dpthread_cond_wait.c67 pthread_create (&forever, NULL, forever_pthread, NULL);
H A Dschedlock.c40 res = pthread_create(&threads[i],
H A Dstaticthreads.c66 pthread_create (&thread, &attr, thread_function, NULL);
/openbsd-current/regress/lib/libpthread/preemption/
H A Dpreemption.c60 CHECKr(pthread_create(&thread, NULL, new_thread, NULL));
/openbsd-current/regress/misc/sse2/foo/
H A Dfoo.c34 pthread_create(&thread, NULL, foo, NULL);
/openbsd-current/regress/lib/libpthread/cancel_wait/
H A Dcancel_wait.c68 CHECKr(pthread_create(&thread, NULL, wait_thread, NULL));
76 CHECKr(pthread_create(&thread, NULL, waitpid_thread, NULL));
84 CHECKr(pthread_create(&thread, NULL, wait3_thread, NULL));
92 CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL));
101 CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL));
/openbsd-current/regress/lib/libpthread/blocked_join/
H A Dblocked_join.c50 CHECKr(pthread_create(&d, NULL, deadlock_detector, NULL));
51 CHECKr(pthread_create(&t, NULL, joiner, &self));
/openbsd-current/regress/lib/libpthread/setjmp/
H A Dsetjmp.c83 CHECKr(pthread_create(&child, NULL, jump, NULL));
87 CHECKr(pthread_create(&child, NULL, _jump, NULL));
/openbsd-current/regress/lib/libpthread/signals/pthread_join/
H A Dpthread_join.c45 CHECKr(pthread_create(&tid[0], NULL, thr_sleep, NULL));
46 CHECKr(pthread_create(&tid[1], NULL, thr_join, &tid[0]));
/openbsd-current/gnu/llvm/compiler-rt/lib/asan/tests/
H A Dasan_racy_double_free_test.cpp28 pthread_create(&t[0], 0, Thread1, 0);
29 pthread_create(&t[1], 0, Thread2, 0);
/openbsd-current/regress/lib/libc/malloc/malloc_threaderr/
H A Dmalloc_threaderr.c63 if (pthread_create(&t1, NULL, m, NULL))
64 err(1, "pthread_create");
67 if (pthread_create(&t2, NULL, f, NULL))
68 err(1, "pthread_create");
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/thread/
H A Dpthread2.cc58 pthread_create (&tid[i], NULL, thread_main, 0);
H A Dpthread3.cc55 pthread_create (&tid[i], NULL, thread_main, 0);
/openbsd-current/regress/lib/libpthread/preemption_float/
H A Dpreemption_float.c106 CHECKr(pthread_create (&thread[0], NULL, trig_loop, NULL));
107 CHECKr(pthread_create (&thread[1], NULL, log_loop, NULL));
124 CHECKr(pthread_create (&thread, NULL, trig_loop, NULL));
131 CHECKr(pthread_create (&thread, NULL, log_loop, NULL));
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_testlib.cpp48 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
/openbsd-current/gnu/gcc/libmudflap/
H A Dmf-hooks3.c74 DECLARE(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr,
273 #undef pthread_create macro
274 WRAPPER(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr,
279 TRACE ("pthread_create\n");
287 return CALL_REAL (pthread_create, thr, attr, __mf_pthread_spawner, si);
/openbsd-current/gnu/gcc/libmudflap/testsuite/libmudflap.cth/
H A Dpass40-frag.c28 rc = pthread_create (&h, &my_pthread_attr,
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.mi/
H A Dpthreads.c30 /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create
69 if (pthread_create (&tid, PTHREAD_CREATE_NULL_ARG2, routine, (void *) 0xfeedface))
71 perror ("pthread_create 1");

Completed in 698 milliseconds

12345678