Searched defs:gettid (Results 1 - 6 of 6) sorted by relevance

/external/libselinux/src/
H A Dprocattr.c12 static pid_t gettid(void) function
31 tid = gettid();
88 tid = gettid();
/external/valgrind/main/gdbserver_tests/
H A Dsleepers.c17 static pid_t gettid() function
29 fprintf(stderr, "pid %d Thread %d %s\n", getpid(), gettid(), msg);
H A Dt.c19 static pid_t gettid() function
29 printf("pid %d Thread %d %s\n", getpid(), gettid(), msg); fflush(stdout);
/external/webrtc/src/system_wrappers/source/
H A Dthread_posix.cc39 static pid_t gettid() function in namespace:webrtc
224 // instead of Linux gettid() syscall.
280 _linuxPid = gettid();
/external/valgrind/main/coregrind/
H A Dm_libcproc.c435 Int VG_(gettid)(void) function
443 * The gettid system call does not exist. The obvious assumption
450 * leader but where the gettid system call has not yet been added.
473 // Darwin's gettid syscall is something else.
/external/stressapptest/src/
H A Dworker.cc41 #include <linux/unistd.h> // for gettid
67 // Why ubuntu, do you hate gettid so bad?
72 #define gettid() syscall(__NR_gettid) macro
451 return (sched_setaffinity(gettid(), sizeof(*thread_mask), thread_mask) == 0);
2483 unsigned int seed = static_cast<unsigned int>(gettid());

Completed in 348 milliseconds