Home
last modified time | relevance | path

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

123

/dragonfly/sbin/hammer2/
H A Dcmd_service.c231 pthread_create(&thread, NULL, udev_thread, NULL); in service_thread()
242 pthread_create(&thread, NULL, autoconn_thread, NULL); in service_thread()
275 pthread_create(&thread, NULL, dmsg_master_service, info); in service_thread()
370 pthread_create(&conf->thread, NULL, in hammer2_usrmsg_handler()
457 pthread_create(&conf->iocom_thread, NULL, in hammer2_volconf_start()
655 pthread_create(&thread, NULL, in autoconn_thread()
839 pthread_create(&thread, NULL, dmsg_master_service, info); in master_reconnect()
922 pthread_create(&thread, NULL, dmsg_master_service, info); in disk_reconnect()
980 pthread_create(&thread, NULL, dmsg_master_service, info); in xdisk_connect()
1015 pthread_create(&thread, NULL, func, arg); in hammer2_demon()
[all …]
/dragonfly/test/pthread/setname/
H A Dpthread_setname.c40 error = pthread_create(&tid1, NULL, setselfname, NULL); in main()
44 error = pthread_create(&tid2, NULL, waitname, NULL); in main()
49 error = pthread_create(&tid3, NULL, resetname, NULL); in main()
/dragonfly/test/stress/stress2/testcases/thr2/
H A Dthr2.c76 if ((r = pthread_create(&threads[i], NULL, thr1, 0)) != 0) in test()
84 if ((r = pthread_create(&threads[i], NULL, thr2, 0)) != 0) in test()
/dragonfly/test/stress/stress2/misc/
H A Ddevfs2.sh98 if ((r = pthread_create(&threads[0], NULL, thr1, 0)) != 0)
100 if ((r = pthread_create(&threads[1], NULL, thr2, 0)) != 0)
H A Dpthread.sh125 pthread_create(&worker1_thr, NULL, worker, (void *)1);
126 pthread_create(&worker2_thr, NULL, worker, (void *)2);
H A Dkevent.sh157 if ((r = pthread_create(&threads[0], NULL, thr1, 0)) != 0)
159 if ((r = pthread_create(&threads[1], NULL, thr2, 0)) != 0)
H A Dkevent2.sh159 if ((r = pthread_create(&threads[0], NULL, thr1, 0)) != 0)
161 if ((r = pthread_create(&threads[1], NULL, thr2, 0)) != 0)
H A Ddatamove3.sh196 if ((r = pthread_create(&threads[0], NULL, mapBuffer, (void *)0)) != 0)
198 if ((r = pthread_create(&threads[1], NULL, mapBuffer, (void *)1)) != 0)
/dragonfly/test/debug/
H A Devfilt_user.c28 pthread_create(&td1, NULL, domaster, (void *)(intptr_t)fd); in main()
30 pthread_create(&td2, NULL, doslave, (void *)(intptr_t)fd); in main()
/dragonfly/test/testcases/threads/umtx_errno/
H A Dumtx_errno.c74 pthread_create(&th, NULL, checker, NULL); in main()
80 ret = pthread_create(&threads[i], NULL, tester, NULL); in main()
/dragonfly/test/sysperf/
H A Dumtx1.c33 pthread_create(&td1, NULL, do_child, NULL); in main()
34 pthread_create(&td2, NULL, do_parent, NULL); in main()
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dgthr-posix.h116 __gthrw3(pthread_create)
144 __gthrw(pthread_create)
268 = __extension__ (void *) &__gthrw_(pthread_create);
391 if (!(__gthrw_(pthread_create) (&new_thread_handle, &_objc_thread_attribs, in __gthread_objc_thread_detach()
681 return __gthrw_(pthread_create) (__threadid, NULL, __func, __args); in __gthread_create()
/dragonfly/test/libpthread/
H A Dsem_d.c106 pthread_create(&threads[i], NULL, entry, (void *) &sem_a); in main()
118 pthread_create(&threads[i], NULL, entry, (void *) &sem_a); in main()
H A Dhello_d.c27 error = pthread_create(&thread, NULL, entry, NULL); in main()
H A Dhello_s.c33 error = pthread_create(&thread, NULL, entry, NULL); in main()
H A Djoin_leak_d.c66 if ((error = pthread_create(&thread, NULL, thread_entry, NULL)) in main()
/dragonfly/contrib/gcc-8.0/libgcc/
H A Dgthr-posix.h105 __gthrw(pthread_create)
265 # define GTHR_ACTIVE_PROXY __gthrw_(pthread_create)
396 if (!(__gthrw_(pthread_create) (&new_thread_handle, &_objc_thread_attribs, in __gthread_objc_thread_detach()
686 return __gthrw_(pthread_create) (__threadid, NULL, __func, __args); in __gthread_create()
/dragonfly/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))
/dragonfly/sbin/svc/
H A Dremote.c81 pthread_create(&conn->td, NULL, remote_connect_thread, conn); in remote_execute()
225 pthread_create(&conn->td, NULL, remote_listener_thread, conn); in remote_listener()
246 pthread_create(&conn->td, NULL, remote_accepted_thread, conn); in remote_listener_thread()
/dragonfly/lib/libpthread/
H A Ddummy.c11 __weak_reference(dummy_pthread_create, pthread_create);
/dragonfly/contrib/grep/lib/glthread/
H A Dthreadlib.c49 if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) in glthread_in_use()
/dragonfly/test/stress/stress2/testcases/thr1/
H A Dthr1.c67 if ((r = pthread_create(&threads[i], NULL, thr_routine, 0)) != 0) in test()
/dragonfly/test/testcases/mem/mmap_1/
H A Dmmap_1.c38 pthread_create(&threads[i], NULL, tester, NULL); in main()
/dragonfly/contrib/binutils-2.34/gold/
H A Dworkqueue-threads.cc86 err = pthread_create(&this->tid_, &attr, &Workqueue_thread::thread_body, in Workqueue_thread()
/dragonfly/contrib/binutils-2.27/gold/
H A Dworkqueue-threads.cc86 err = pthread_create(&this->tid_, &attr, &Workqueue_thread::thread_body, in Workqueue_thread()

123