| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.btrace/ |
| enable-new-thread.c | 30 pthread_t th; local 32 pthread_create (&th, NULL, test, NULL); 33 pthread_join (th, NULL);
|
| multi-thread-step.c | 42 pthread_t th; local 45 pthread_create (&th, NULL, test, NULL); 49 pthread_join (th, NULL);
|
| non-stop.c | 36 pthread_t th; local 38 pthread_create (&th, NULL, test, NULL); 42 pthread_join (th, NULL);
|
| enable-running.c | 38 pthread_t th[NTHREADS]; local 42 pthread_create (&th[i], NULL, test, NULL); 47 pthread_join (th[i], NULL);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.btrace/ |
| enable-new-thread.c | 30 pthread_t th; local 32 pthread_create (&th, NULL, test, NULL); 33 pthread_join (th, NULL);
|
| multi-thread-step.c | 42 pthread_t th; local 45 pthread_create (&th, NULL, test, NULL); 49 pthread_join (th, NULL);
|
| non-stop.c | 36 pthread_t th; local 38 pthread_create (&th, NULL, test, NULL); 42 pthread_join (th, NULL);
|
| enable-running.c | 38 pthread_t th[NTHREADS]; local 42 pthread_create (&th[i], NULL, test, NULL); 47 pthread_join (th[i], NULL);
|
| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.thread/ |
| 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();
|
| tlsstack.d | 31 auto th = new Thread(&showThreadInfo, 16384); 32 th.start(); 33 th.join();
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| attach-stopped.c | 43 pthread_t th; 44 pthread_create (&th, NULL, func, NULL); 45 pthread_join (th, NULL);
|
| continue-pending-after-query.c | 39 pthread_t th; local 41 pthread_create (&th, NULL, thread_function, NULL); 45 pthread_join (th, NULL);
|
| attach-into-signal.c | 60 pthread_t th; 61 pthread_create (&th, NULL, func, NULL); 62 pthread_join (th, NULL);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| attach-stopped.c | 43 pthread_t th; 44 pthread_create (&th, NULL, func, NULL); 45 pthread_join (th, NULL);
|
| continue-pending-after-query.c | 39 pthread_t th; local 41 pthread_create (&th, NULL, thread_function, NULL); 45 pthread_join (th, NULL);
|
| attach-into-signal.c | 60 pthread_t th; 61 pthread_create (&th, NULL, func, NULL); 62 pthread_join (th, NULL);
|
| /src/tests/lib/libpthread/ |
| 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));
|
| /src/common/lib/libc/gen/ |
| bswap64.c | 38 uint32_t tl, th; 40 th = bswap32((uint32_t)(x & 0x00000000ffffffffULL)); 42 return ((uint64_t)th << 32) | tl;
|
| /src/sys/rump/kern/lib/libsimplehook_tester/ |
| 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->th_idx)) 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...] |
| /src/external/bsd/libevent/dist/test/ |
| regress_thread.h | 41 #define THREAD_JOIN(th) WaitForSingleObject(th, INFINITE) 52 #define THREAD_JOIN(th) pthread_join(th, NULL)
|
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| regress_thread.h | 42 #define THREAD_JOIN(th) WaitForSingleObject(th, INFINITE) 53 #define THREAD_JOIN(th) pthread_join(th, NULL)
|
| /src/sys/netinet/ |
| tcp_debug.h | 49 struct tcphdr th; member in struct:tcp_debug::__anon7444 57 struct tcphdr th; member in struct:tcp_debug::__anon7445
|
| /src/external/gpl3/gdb.old/dist/gdbserver/ |
| win32-i386-low.cc | 53 windows_thread_info *th = (windows_thread_info *) thread_target_data (thread); local 57 th->debug_registers_changed = true; 86 windows_thread_info *th local 89 win32_require_context (th); 94 return th->wow64_context.Dr ## DR 113 return th->context.Dr ## DR 248 i386_get_thread_context (windows_thread_info *th) 257 th->wow64_context.ContextFlags = (CONTEXT_FULL 263 th->context.ContextFlags = (CONTEXT_FULL 271 ret = Wow64GetThreadContext (th->h, &th->wow64_context) [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
| 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[i], 0), 0) 137 pthread_t th; local [all...] |
| /src/usr.sbin/npf/npftest/ |
| npfstream.c | 42 const struct tcphdr *th; local 57 th = (const struct tcphdr *)p; 59 tcpdlen = ntohs(ip->ip_len) - hlen - (th->th_off << 2); 60 if (th->th_flags & TH_SYN) { 63 if (th->th_flags & TH_FIN) { 66 seq = ntohl(th->th_seq); 82 forw ? ">" : "<", (th->th_flags & (TH_SYN | TH_ACK | TH_FIN)), 83 packetno, error, (unsigned)seq, (unsigned)ntohl(th->th_ack), 84 tcpdlen, ntohs(th->th_win), (uintptr_t)result[0]);
|