Searched refs:th (Results 1 - 25 of 343) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.btrace/
H A Denable-new-thread.c30 pthread_t th; local
32 pthread_create (&th, NULL, test, NULL);
33 pthread_join (th, NULL);
H A Dmulti-thread-step.c42 pthread_t th; local
45 pthread_create (&th, NULL, test, NULL);
49 pthread_join (th, NULL);
H A Dnon-stop.c36 pthread_t th; local
38 pthread_create (&th, NULL, test, NULL);
42 pthread_join (th, NULL);
H A Denable-running.c36 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 Denable-new-thread.c30 pthread_t th; local
32 pthread_create (&th, NULL, test, NULL);
33 pthread_join (th, NULL);
H A Dmulti-thread-step.c42 pthread_t th; local
45 pthread_create (&th, NULL, test, NULL);
49 pthread_join (th, NULL);
H A Dnon-stop.c36 pthread_t th; local
38 pthread_create (&th, NULL, test, NULL);
42 pthread_join (th, NULL);
H A Denable-running.c38 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 Djoin_detach.d13 auto th = new Thread(&thread_main);
15 th.start();
17 while (th.isRunning()) {}
18 destroy(th); // force detach
19 th.join();
H A Dtlsstack.d31 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 Dattach-stopped.c43 pthread_t th;
44 pthread_create (&th, NULL, func, NULL);
45 pthread_join (th, NULL);
H A Dcontinue-pending-after-query.c39 pthread_t th; local
41 pthread_create (&th, NULL, thread_function, NULL);
45 pthread_join (th, NULL);
H A Dattach-into-signal.c60 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 Dcontinue-pending-after-query.c39 pthread_t th; local
41 pthread_create (&th, NULL, thread_function, NULL);
45 pthread_join (th, NULL);
H A Dattach-stopped.c43 pthread_t th;
44 pthread_create (&th, NULL, func, NULL);
45 pthread_join (th, NULL);
H A Dattach-into-signal.c60 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 Dregress_thread.h38 #define THREAD_JOIN(th) pthread_join(th, NULL)
47 #define THREAD_JOIN(th) WaitForSingleObject(th, INFINITE)
/netbsd-current/tests/lib/libpthread/
H A Dt_kill.c75 } 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 Dbswap64.c38 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 Dregress_thread.h41 #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 Dsimplehook_tester.c215 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 Dtcp_debug.h49 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 Dwin32-i386-low.cc45 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 Dwin32-i386-low.cc45 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 Dtsan_posix.cc60 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...]

Completed in 374 milliseconds

1234567891011>>