Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_exit.sh28 atf_test_case main_thread
40 atf_add_test_case main_thread
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp158 MemprofThread *main_thread = MemprofThread::Create( in CreateMainThread() local
161 SetCurrentThread(main_thread); in CreateMainThread()
162 main_thread->ThreadStart(internal_getpid(), in CreateMainThread()
164 return main_thread; in CreateMainThread()
H A Dmemprof_rtl.cpp211 MemprofThread *main_thread = CreateMainThread(); in MemprofInitInternal() local
212 CHECK_EQ(0, main_thread->tid()); in MemprofInitInternal()
/freebsd-13.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-13.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-13.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-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp292 AsanThread *main_thread = AsanThread::Create( in CreateMainThread() local
295 SetCurrentThread(main_thread); in CreateMainThread()
296 main_thread->ThreadStart(internal_getpid()); in CreateMainThread()
297 return main_thread; in CreateMainThread()
H A Dasan_rtl.cpp489 AsanThread *main_thread = CreateMainThread(); in AsanInitInternal() local
490 CHECK_EQ(0, main_thread->tid()); in AsanInitInternal()
/freebsd-13.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-13.1/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp471 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); in __msan_init() local
472 SetCurrentThread(main_thread); in __msan_init()
473 main_thread->ThreadStart(); in __msan_init()
/freebsd-13.1/lib/libc/gen/
H A D_pthread_stubs.c53 static struct pthread main_thread; variable
310 return (&main_thread); in stub_self()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan.cpp1008 DFsanThread *main_thread = DFsanThread::Create(nullptr, nullptr, nullptr); in DFsanInit() local
1009 SetCurrentThread(main_thread); in DFsanInit()
1010 main_thread->ThreadStart(); in DFsanInit()
/freebsd-13.1/tools/tools/netmap/
H A Dpkt-gen.c2595 main_thread(struct glob_arg *g) in main_thread() function
3276 main_thread(&g); in main()