/bionic/libc/bionic/ |
H A D | pthread_kill.cpp | 35 extern "C" int tgkill(int tgid, int tid, int sig); 46 pid_t tid = thread->tid; local 49 int rc = tgkill(getpid(), tid, sig);
|
H A D | pthread_setname_np.cpp | 64 pid_t tid = 0; local 70 tid = thread->tid; 73 snprintf(comm_name, sizeof(comm_name), TASK_COMM_FMT, tid);
|
H A D | pthread_internal.h | 42 pid_t tid; member in struct:pthread_internal_t
|
H A D | pthread-rwlocks.c | 156 static __inline__ int read_precondition(pthread_rwlock_t* rwlock, int tid) argument 166 if (rwlock->writerThreadId == 0 || rwlock->writerThreadId == tid) 174 static __inline__ int write_precondition(pthread_rwlock_t* rwlock, int tid) argument 181 if (rwlock->writerThreadId == tid) 212 if (__predict_false(!read_precondition(rwlock, __get_thread()->tid))) 229 int tid = __get_thread()->tid; local 230 if (__predict_false(!read_precondition(rwlock, tid))) { 234 } while (ret == 0 && !read_precondition(rwlock, tid)); 259 int tid local 278 int tid = __get_thread()->tid; local [all...] |
H A D | pthread_create.cpp | 117 if (sched_setscheduler(thread->tid, thread->attr.sched_policy, ¶m) == -1) { 224 int tid = __pthread_clone(start_routine, child_stack, flags, arg); local 225 if (tid < 0) { 235 thread->tid = tid; 249 _thread_created_hook(thread->tid);
|
H A D | pthread_debug.cpp | 372 LOGW("pid: %d, tid: %d >>> %s <<<", getpid(), gettid(), __progname); 428 pid_t tid = gettid(); local 429 if (object->owner == tid) { 434 object->owner = tid; 479 pid_t tid = gettid(); local 480 if (object->owner == tid) {
|
H A D | pthread.c | 158 * 31-16 tid owner thread's tid (recursive and errorcheck only) 268 * tid of the owning thread. Note that this works because the Linux 583 int mvalue, mtype, tid, shared; local 599 tid = __get_thread()->tid; 600 if ( tid == MUTEX_OWNER_FROM_BITS(mvalue) ) 610 int newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; 629 newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_CONTENDED; 677 int mvalue, mtype, tid, share local 744 int mvalue, mtype, tid, shared; local 839 int mvalue, mtype, tid, shared; local 1263 __pthread_settid(pthread_t thid, pid_t tid) argument [all...] |
/bionic/tests/ |
H A D | stack_protector_test.cpp | 52 pid_t tid = gettid(); local 55 printf("[thread %d] %%gs:0x14 = 0x%08x\n", tid, guard); 57 // Duplicate tid. gettid(2) bug? Seeing this would be very upsetting. 58 ASSERT_TRUE(tids.find(tid) == tids.end()); 64 tids.insert(tid);
|
/bionic/libc/kernel/common/linux/ |
H A D | smb.h | 54 __u16 tid; member in struct:smb_conn_opt
|
/bionic/linker/ |
H A D | debugger.cpp | 41 extern "C" int tgkill(int tgid, int tid, int sig); 58 pid_t tid; member in struct:debugger_msg_t 190 pid_t tid = gettid(); local 195 // local socket but we need to tell it the tid of the crashing thread. 196 // debuggerd will be paranoid and verify that we sent a tid 200 msg.tid = tid; 205 ret = TEMP_FAILURE_RETRY(read(s, &tid, 1));
|
/bionic/libthread_db/include/ |
H A D | thread_db.h | 76 pid_t tid; member in struct:__anon716
|
/bionic/libc/kernel/common/sound/ |
H A D | asound.h | 559 struct snd_timer_id tid; member in struct:snd_timer_ginfo 575 struct snd_timer_id tid; member in struct:snd_timer_gparams 582 struct snd_timer_id tid; member in struct:snd_timer_gstatus
|