Searched refs:pthread_create (Results 51 - 75 of 204) sorted by relevance

123456789

/freebsd-13-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_nsd_recurse.c104 assert(pthread_create(&thr, NULL, thrfunc, NULL) == 0);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_getenv_thread.c158 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_getenv_r,
183 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_putenv,
208 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_setenv,
233 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_unsetenv,
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/dlopen/
H A Dt_main_pthread_create.c56 "Test if -lpthread main can call pthread_create() in main()");
65 ret = pthread_create(&thread, NULL, routine, arg);
74 "Test if -lpthread main can call pthread_create() in DSO");
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_barrier.c86 PTHREAD_REQUIRE(pthread_create(&new[i], NULL, threadfunc,
H A Dt_fork.c82 PTHREAD_REQUIRE(pthread_create(&p, NULL, print_pid, NULL));
H A Dt_kill.c125 PTHREAD_REQUIRE(pthread_create(&th[i].id, NULL, f, &th[i]));
H A Dt_name.c92 PTHREAD_REQUIRE(pthread_create(&thr, &attr, threadfunc, NULL));
H A Dt_sigalarm.c93 PTHREAD_REQUIRE(pthread_create(&self, NULL, setup, NULL));
H A Dt_siglongjmp.c83 PTHREAD_REQUIRE(pthread_create(&t, NULL, thread, NULL));
H A Dt_sleep.c84 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc, NULL));
H A Dt_swapcontext.c117 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc, NULL));
H A Dt_mutex.c116 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex1_threadfunc, &x));
220 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex2_threadfunc, &count2));
334 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex3_threadfunc, &count2));
420 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex4_threadfunc, &x));
506 PTHREAD_REQUIRE(pthread_create(&child, NULL, child_func, NULL));
630 PTHREAD_REQUIRE(pthread_create(&high, NULL, high_prio, NULL));
631 PTHREAD_REQUIRE(pthread_create(&low, NULL, low_prio, NULL));
785 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL));
813 PTHREAD_REQUIRE(pthread_create(&new, NULL, timedmtx_thrdfunc, NULL));
H A Dt_once.c113 PTHREAD_REQUIRE(pthread_create(&threads[i], NULL, once2_threadfunc, &id[i]));
178 PTHREAD_REQUIRE(pthread_create(&thread, NULL, once3_threadfunc, NULL));
H A Dt_sem.c190 PTHREAD_REQUIRE(pthread_create(&threads[i], NULL,
268 PTHREAD_REQUIRE(pthread_create(&t, NULL, threadfunc, NULL));
H A Dt_sigmask.c194 PTHREAD_REQUIRE(pthread_create(&thread, NULL,
237 PTHREAD_REQUIRE(pthread_create(&id, NULL, incorrect_mask_bug_sleeper,
H A Dt_preempt.c102 PTHREAD_REQUIRE(pthread_create(&new, NULL, threadfunc, NULL));
/freebsd-13-stable/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c93 rc = pthread_create(&threads[t], NULL, vfork_test, &t);
95 errc(1, rc, "pthread_create");
/freebsd-13-stable/tests/sys/cddl/zfs/tests/threadsappend/
H A Dthreadsappend.c120 ret = pthread_create(&threads[i], NULL, go, (void *)&i);
/freebsd-13-stable/tests/sys/file/
H A Dnewfileops_on_fork_test.c119 if (pthread_create(&accept_thread, NULL, do_accept, NULL) != 0)
120 err(1, "pthread_create");
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dnotify.cc171 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea))
203 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea))
253 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea))
298 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_entry, &iea))
319 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia))
373 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia))
404 ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno);
439 ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno);
483 ASSERT_EQ(0, pthread_create(&th0, NULL, inval_inode, &iia))
538 ASSERT_EQ(0, pthread_create(
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread_dbg/
H A Dt_threads.c90 (pthread_create(&threads[i], NULL, busyFunction1, NULL));
153 (pthread_create(&threads[i], NULL, busyFunction2, NULL));
223 (pthread_create(&threads[i], NULL, busyFunction3, NULL));
295 (pthread_create(&threads[i], NULL, busyFunction4, NULL));
376 (pthread_create(&threads[i], NULL, busyFunction5, NULL));
449 (pthread_create(&threads[i], NULL, busyFunction6, NULL));
523 (pthread_create(&threads[i], NULL, busyFunction7, NULL));
597 (pthread_create(&threads[i], NULL, busyFunction8, NULL));
678 (pthread_create(&threads[i], NULL, busyFunction9, NULL));
/freebsd-13-stable/sys/contrib/zstd/lib/common/
H A Dthreading.h101 #define ZSTD_pthread_create(a, b, c, d) pthread_create((a), (b), (c), (d))
126 #define ZSTD_pthread_create(a, b, c, d) pthread_create((a), (b), (c), (d))
/freebsd-13-stable/usr.sbin/bhyve/
H A Dmevent_test.c243 pthread_create(&tid, NULL, echoer,
255 pthread_create(&tid, NULL, acceptor, NULL);
/freebsd-13-stable/contrib/ofed/opensm/complib/
H A Dcl_thread.c84 ret = pthread_create(&p_thread->osd.id, NULL,
87 if (ret != 0) /* pthread_create returns a "0" for success */
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getpid.c116 rv = pthread_create(&tid, NULL, threadfunc, &tpid);

Completed in 287 milliseconds

123456789