Lines Matching defs:tid
34 int tid = __pthread_self()->tid;
36 if (val == tid) {
40 while ((val = a_cas(&__thread_list_lock, 0, tid)))
96 * its kernel tid is controlled by killlock. For detached threads,
119 /* After the kernel thread exits, its tid may be reused. Clear it
126 self->tid = 0;
364 ret = __clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock);
374 new->tid, attr._a_policy, &attr._a_prio);
435 return thread ? thread->tid : -1;