Searched defs:tid (Results 1 - 12 of 12) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_kill.cpp35 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 Dpthread_setname_np.cpp64 pid_t tid = 0; local
70 tid = thread->tid;
73 snprintf(comm_name, sizeof(comm_name), TASK_COMM_FMT, tid);
H A Dpthread_internal.h42 pid_t tid; member in struct:pthread_internal_t
H A Dpthread-rwlocks.c156 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 Dpthread_create.cpp117 if (sched_setscheduler(thread->tid, thread->attr.sched_policy, &param) == -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 Dpthread_debug.cpp372 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 Dpthread.c158 * 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 Dstack_protector_test.cpp52 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 Dsmb.h54 __u16 tid; member in struct:smb_conn_opt
/bionic/linker/
H A Ddebugger.cpp41 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 Dthread_db.h76 pid_t tid; member in struct:__anon716
/bionic/libc/kernel/common/sound/
H A Dasound.h559 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

Completed in 270 milliseconds