/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.btrace/ |
H A D | enable-new-thread.c | 30 pthread_t th; local 32 pthread_create (&th, NULL, test, NULL); 33 pthread_join (th, NULL);
|
H A D | multi-thread-step.c | 42 pthread_t th; local 45 pthread_create (&th, NULL, test, NULL); 49 pthread_join (th, NULL);
|
H A D | non-stop.c | 36 pthread_t th; local 38 pthread_create (&th, NULL, test, NULL); 42 pthread_join (th, NULL);
|
H A D | enable-running.c | 36 pthread_t th[NTHREADS]; local 40 pthread_create (&th[i], NULL, test, NULL); 45 pthread_join (th[i], NULL);
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.btrace/ |
H A D | enable-new-thread.c | 30 pthread_t th; local 32 pthread_create (&th, NULL, test, NULL); 33 pthread_join (th, NULL);
|
H A D | multi-thread-step.c | 42 pthread_t th; local 45 pthread_create (&th, NULL, test, NULL); 49 pthread_join (th, NULL);
|
H A D | non-stop.c | 36 pthread_t th; local 38 pthread_create (&th, NULL, test, NULL); 42 pthread_join (th, NULL);
|
H A D | enable-running.c | 38 pthread_t th[NTHREADS]; local 42 pthread_create (&th[i], NULL, test, NULL); 47 pthread_join (th[i], NULL);
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.thread/ |
H A D | join_detach.d | 13 auto th = new Thread(&thread_main); 15 th.start(); 17 while (th.isRunning()) {} 18 destroy(th); // force detach 19 th.join();
|
H A D | tlsstack.d | 31 auto th = new Thread(&showThreadInfo, 16384); 32 th.start(); 33 th.join();
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | attach-stopped.c | 43 pthread_t th; 44 pthread_create (&th, NULL, func, NULL); 45 pthread_join (th, NULL);
|
H A D | continue-pending-after-query.c | 39 pthread_t th; local 41 pthread_create (&th, NULL, thread_function, NULL); 45 pthread_join (th, NULL);
|
H A D | attach-into-signal.c | 60 pthread_t th; 61 pthread_create (&th, NULL, func, NULL); 62 pthread_join (th, NULL);
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | continue-pending-after-query.c | 39 pthread_t th; local 41 pthread_create (&th, NULL, thread_function, NULL); 45 pthread_join (th, NULL);
|
H A D | attach-stopped.c | 43 pthread_t th; 44 pthread_create (&th, NULL, func, NULL); 45 pthread_join (th, NULL);
|
H A D | attach-into-signal.c | 60 pthread_t th; 61 pthread_create (&th, NULL, func, NULL); 62 pthread_join (th, NULL);
|
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/ |
H A D | regress_thread.h | 38 #define THREAD_JOIN(th) pthread_join(th, NULL) 47 #define THREAD_JOIN(th) WaitForSingleObject(th, INFINITE)
|
/netbsd-current/tests/lib/libpthread/ |
H A D | t_kill.c | 75 } th[NTHREAD]; variable in typeref:struct:threadinfo 90 if (self == th[i].id) 95 th[i].gotsignal++; 125 PTHREAD_REQUIRE(pthread_create(&th[i].id, NULL, f, &th[i])); 134 PTHREAD_REQUIRE(pthread_kill(th[i].id, SIGUSR1)); 138 PTHREAD_REQUIRE(pthread_join(th[i].id, NULL));
|
/netbsd-current/common/lib/libc/gen/ |
H A D | bswap64.c | 38 uint32_t tl, th; 40 th = bswap32((uint32_t)(x & 0x00000000ffffffffULL)); 42 return ((uint64_t)th << 32) | tl;
|
/netbsd-current/external/bsd/libevent/dist/test/ |
H A D | regress_thread.h | 41 #define THREAD_JOIN(th) WaitForSingleObject(th, INFINITE) 52 #define THREAD_JOIN(th) pthread_join(th, NULL)
|
/netbsd-current/sys/rump/kern/lib/libsimplehook_tester/ |
H A D | simplehook_tester.c | 215 struct tester_hook *th; local 217 th = xth; 218 ctx = th->th_ctx; 222 __func__, __LINE__, th->th_idx)); 224 th->th_stopped = false; 226 while (th->th_stopping) { 228 __func__, __LINE__, th->th_idx)); 229 th->th_stopped = true; 233 if (th->th_stopped) { 235 __func__, __LINE__, th 275 struct tester_hook *th; local 393 struct tester_hook *th; local 430 struct tester_hook *th; local 452 struct tester_hook *th; local 491 struct tester_hook *th; local 671 struct tester_hook *th; local [all...] |
/netbsd-current/sys/netinet/ |
H A D | tcp_debug.h | 49 struct tcphdr th; member in struct:tcp_debug::__anon45 57 struct tcphdr th; member in struct:tcp_debug::__anon46
|
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/ |
H A D | win32-i386-low.cc | 45 windows_thread_info *th = (windows_thread_info *) thread_target_data (thread); local 49 th->debug_registers_changed = true; 78 windows_thread_info *th local 81 win32_require_context (th); 86 return th->wow64_context.Dr ## DR 105 return th->context.Dr ## DR 240 i386_get_thread_context (windows_thread_info *th) argument 249 th->wow64_context.ContextFlags = (CONTEXT_FULL 255 th->context.ContextFlags = (CONTEXT_FULL 263 ret = win32_Wow64GetThreadContext (th 282 i386_prepare_to_resume(windows_thread_info *th) argument 318 i386_thread_added(windows_thread_info *th) argument 324 i386_single_step(windows_thread_info *th) argument 464 i386_fetch_inferior_register(struct regcache *regcache, windows_thread_info *th, int r) argument 500 i386_store_inferior_register(struct regcache *regcache, windows_thread_info *th, int r) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdbserver/ |
H A D | win32-i386-low.cc | 45 windows_thread_info *th = (windows_thread_info *) thread_target_data (thread); local 49 th->debug_registers_changed = true; 78 windows_thread_info *th local 81 win32_require_context (th); 86 return th->wow64_context.Dr ## DR 105 return th->context.Dr ## DR 240 i386_get_thread_context (windows_thread_info *th) argument 249 th->wow64_context.ContextFlags = (CONTEXT_FULL 255 th->context.ContextFlags = (CONTEXT_FULL 263 ret = Wow64GetThreadContext (th 282 i386_prepare_to_resume(windows_thread_info *th) argument 318 i386_thread_added(windows_thread_info *th) argument 324 i386_single_step(windows_thread_info *th) argument 464 i386_fetch_inferior_register(struct regcache *regcache, windows_thread_info *th, int r) argument 500 i386_store_inferior_register(struct regcache *regcache, windows_thread_info *th, int r) argument [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
H A D | tsan_posix.cc | 60 pthread_t th[3]; local 64 EXPECT_EQ(__interceptor_pthread_create(&th[0], 0, dtors_thread, &k1), 0); 65 EXPECT_EQ(__interceptor_pthread_create(&th[1], 0, dtors_thread, &k2), 0); 66 EXPECT_EQ(__interceptor_pthread_join(th[0], 0), 0); 67 EXPECT_EQ(__interceptor_pthread_create(&th[2], 0, dtors_thread, &k3), 0); 68 EXPECT_EQ(__interceptor_pthread_join(th[1], 0), 0); 69 EXPECT_EQ(__interceptor_pthread_join(th[2], 0), 0); 83 pthread_t th[kThreads]; local 85 EXPECT_EQ(__interceptor_pthread_create(&th[i], 0, local_thread, 88 EXPECT_EQ(__interceptor_pthread_join(th[ 137 pthread_t th; local [all...] |