Home
last modified time | relevance | path

Searched refs:main_thread (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_exit.sh28 atf_test_case main_thread
40 atf_add_test_case main_thread
/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dapp.c75 static isc_thread_t main_thread; variable
85 main_thread = GetCurrentThread(); in isc__app_start()
141 REQUIRE(main_thread == GetCurrentThread()); in isc__app_run()
/freebsd-12.1/lib/libc/rpc/
H A Dclnt_simple.c129 int main_thread = 1; in rpc_call() local
131 if ((main_thread = thr_main())) { in rpc_call()
149 if (main_thread) in rpc_call()
H A Dkey_call.c303 int main_thread; in getkeyserv_handle() local
309 if ((main_thread = thr_main())) { in getkeyserv_handle()
322 if (main_thread) in getkeyserv_handle()
H A Drpc_generic.c246 int main_thread; in __rpc_getconfip() local
248 if ((main_thread = thr_main())) { in __rpc_getconfip()
271 if (main_thread) in __rpc_getconfip()
280 if (main_thread) in __rpc_getconfip()
/freebsd-12.1/contrib/ntp/lib/isc/unix/
H A Dapp.c186 static pthread_t main_thread; variable
250 main_thread = pthread_self(); in isc__app_ctxstart()
583 REQUIRE(main_thread == pthread_self()); in isc__app_ctxrun()
736 result = pthread_kill(main_thread, SIGTERM); in isc__app_ctxshutdown()
792 result = pthread_kill(main_thread, SIGHUP); in isc__app_ctxsuspend()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_thread.cc278 AsanThread *main_thread = AsanThread::Create( in CreateMainThread() local
281 SetCurrentThread(main_thread); in CreateMainThread()
282 main_thread->ThreadStart(internal_getpid(), in CreateMainThread()
284 return main_thread; in CreateMainThread()
H A Dasan_rtl.cc497 AsanThread *main_thread = CreateMainThread(); in AsanInitInternal() local
498 CHECK_EQ(0, main_thread->tid()); in AsanInitInternal()
/freebsd-12.1/tools/tools/netrate/netreceive/
H A Dnetreceive.c159 main_thread(struct td_desc **tp, int nsock, int nthreads) in main_thread() function
270 main_thread(tp, nsock, nthreads); in main()
/freebsd-12.1/lib/libc/gen/
H A D_pthread_stubs.c53 static struct pthread main_thread; variable
307 return (&main_thread); in stub_self()
/freebsd-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan.cc449 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); in __msan_init() local
450 SetCurrentThread(main_thread); in __msan_init()
451 main_thread->ThreadStart(); in __msan_init()
/freebsd-12.1/tools/tools/netmap/
H A Dpkt-gen.c2563 main_thread(struct glob_arg *g) in main_thread() function
3244 main_thread(&g); in main()