Searched refs:gettid (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dsigstep-threads.c25 #define gettid() syscall (__NR_gettid) macro
33 tgkill (getpid (), gettid (), SIGUSR1); /* step-2 */
39 tgkill (getpid (), gettid (), SIGUSR1);
H A Dwatchpoint-fork-mt.c31 #define gettid() syscall (__NR_gettid) macro
119 printf ("main: %d\n", (int) gettid ());
H A Dsiginfo-threads.c31 #define gettid() syscall (__NR_gettid) macro
36 #define TIMEOUT (gettid () == getpid() ? 10 : 15)
98 if (gettid () == thread1_tid)
107 else if (gettid () == thread2_tid)
122 (unsigned long) gettid ());
138 thread1_tid = gettid ();
175 thread2_tid = gettid ();
H A Dwatchthreads-reorder.c31 #define gettid() syscall (__NR_gettid) macro
35 #define TIMEOUT (gettid () == getpid() ? 10 : 15)
97 thread1_tid = gettid ();
125 thread2_tid = gettid ();
H A Dia64-sigill.c31 #define gettid() syscall (__NR_gettid) macro
35 #define TIMEOUT (gettid () == getpid() ? 10 : 15)
91 thread1_tid = gettid ();
104 thread2_tid = gettid ();
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dsigstep-threads.c25 #define gettid() syscall (__NR_gettid) macro
33 tgkill (getpid (), gettid (), SIGUSR1); /* step-2 */
39 tgkill (getpid (), gettid (), SIGUSR1);
H A Dwatchpoint-fork-mt.c31 #define gettid() syscall (__NR_gettid) macro
119 printf ("main: %d\n", (int) gettid ());
H A Dsiginfo-threads.c31 #define gettid() syscall (__NR_gettid) macro
36 #define TIMEOUT (gettid () == getpid() ? 10 : 15)
98 if (gettid () == thread1_tid)
107 else if (gettid () == thread2_tid)
122 (unsigned long) gettid ());
138 thread1_tid = gettid ();
175 thread2_tid = gettid ();
H A Dwatchthreads-reorder.c31 #define gettid() syscall (__NR_gettid) macro
35 #define TIMEOUT (gettid () == getpid() ? 10 : 15)
97 thread1_tid = gettid ();
125 thread2_tid = gettid ();
H A Dia64-sigill.c31 #define gettid() syscall (__NR_gettid) macro
35 #define TIMEOUT (gettid () == getpid() ? 10 : 15)
91 thread1_tid = gettid ();
104 thread2_tid = gettid ();
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dtraced-thread.c41 bg_tid = gettid ();
/netbsd-current/usr.sbin/iopctl/
H A Diopctl.c56 static int gettid(char **);
346 getparam(gettid(argv), I2O_PARAM_DDM_IDENTITY, &p, sizeof(p));
370 getparam(gettid(argv), I2O_PARAM_DEVICE_IDENTITY, &p, sizeof(p));
457 gettid(char **argv) function
/netbsd-current/external/bsd/file/dist/src/
H A Dseccomp.c249 ALLOW_RULE(gettid);
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/netmgr/
H A Dnetmgr-int.h110 #define gettid() (uint32_t) syscall(SYS_gettid) macro
112 #define gettid() (uint32_t) GetCurrentThreadId() macro
114 #define gettid() (uint32_t) pthread_self() macro
119 fprintf(stderr, "%" PRIu32 ":%d:%s:%u:%s:" format, gettid(), \
/netbsd-current/external/mpl/bind/dist/lib/isc/netmgr/
H A Dnetmgr-int.h130 #define gettid() (uint32_t) syscall(SYS_gettid) macro
132 #define gettid() (uint32_t) pthread_self() macro
137 fprintf(stderr, "%" PRIu32 ":%d:%s:%u:%s:" format, gettid(), \
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_linux.cc480 return internal_syscall(SYSCALL(gettid));
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_linux.cc508 return internal_syscall(SYSCALL(gettid));
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_linux.cpp510 return internal_syscall(SYSCALL(gettid));
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Daarch64-linux-tdep.c1382 SYSCALL_MAP (gettid);
/netbsd-current/external/bsd/unbound/dist/daemon/
H A Dworker.c2105 worker->thread_tid = gettid();
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Daarch64-linux-tdep.c2229 SYSCALL_MAP (gettid);
/netbsd-current/external/bsd/unbound/dist/
H A Dconfigure20476 for ac_func in tzset sigprocmask fcntl getpwnam endpwent getrlimit setrlimit setsid chroot kill chown sleep usleep random srandom recvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex endservent endprotoent fsync shmget accept4 getifaddrs if_nametoindex poll gettid

Completed in 233 milliseconds