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

/external/valgrind/main/coregrind/m_scheduler/
H A Dticket-lock-linux.c127 VG_(gettid)(), ticket);
136 VG_(gettid)(), ticket, (long)(futex - p->futex),
149 p->owner = VG_(gettid)();
176 "\n", VG_(getpid)(), VG_(gettid)(), wakeup_ticket,
185 VG_(getpid)(), VG_(gettid)(), wakeup_ticket);
H A Dsema.c36 #include "pub_core_libcproc.h" // For VG_(gettid)()
102 Int lwpid = VG_(gettid)();
139 vg_assert(sema->owner_lwpid == VG_(gettid)()); /* must have it */
H A Dscheduler.c433 vg_assert(VG_(threads)[tid].os_state.lwpid == VG_(gettid)());
551 VG_(threads)[me].os_state.lwpid = VG_(gettid)();
1243 vg_assert(tst->os_state.lwpid == VG_(gettid)());
1948 Int lwpid = VG_(gettid)();
1961 tid, VG_(threads)[tid].os_state.lwpid, VG_(gettid)());
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dposix_logger.h24 PosixLogger(FILE* f, uint64_t (*gettid)()) : file_(f), gettid_(gettid) { } argument
H A Denv_posix.cc559 static uint64_t gettid() { function in class:leveldb::__anon11276::PosixEnv
572 *result = new PosixLogger(f, &PosixEnv::gettid);
/external/libselinux/src/
H A Dprocattr.c12 static pid_t gettid(void) function
31 tid = gettid();
88 tid = gettid();
/external/bluetooth/bluedroid/utils/src/
H A Dbt_utils.c119 int tid = gettid();
/external/valgrind/main/include/
H A Dpub_tool_libcproc.h73 extern Int VG_(gettid) ( void );
/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/chromium_org/base/threading/
H A Dplatform_thread_posix.cc152 return gettid();
/external/valgrind/main/coregrind/
H A Dm_libcassert.c39 #include "pub_core_libcproc.h" // For VG_(gettid)()
226 = VG_(get_ThreadState)( VG_(lwpid_to_vgtid)( VG_(gettid)() ) );
H A Dm_signals.c1810 vg_assert(tst->os_state.lwpid == VG_(gettid)());
2081 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)());
2459 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)());
2518 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)());
2522 VG_(dmsg)("sigvgkill for lwp %d tid %d\n", VG_(gettid)(), tid);
H A Dm_libcproc.c439 Int VG_(gettid)(void) function
447 * The gettid system call does not exist. The obvious assumption
454 * leader but where the gettid system call has not yet been added.
477 // 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());
/external/chromium_org/net/third_party/nss/ssl/
H A Dsslsnce.c990 long gettid(void) function
1192 gettid());
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dlinux_syscall_support.h110 * sys_getpid -- gettid
2238 LSS_INLINE pid_t LSS_NAME(gettid)() { function
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dlinux_syscall_support.h110 * sys_getpid -- gettid
2140 LSS_INLINE pid_t LSS_NAME(gettid)() { function
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-darwin.c111 tst->os_state.lwpid = VG_(gettid)();
282 msg.msgh_request_port = VG_(gettid)();
436 if (port == VG_(gettid)()) return "mach_thread_self()";
H A Dsyswrap-linux.c94 tst->os_state.lwpid = VG_(gettid)();
1424 PRE_REG_READ0(long, "gettid");

Completed in 376 milliseconds