/sysdeps/unix/sysv/linux/ |
A D | tst-clone2-internal.c | 47 pid_t tid = gettid (); in f() local 53 if (write (pipefd[1], &tid, sizeof tid) != sizeof (tid)) in f() 91 pid_t ppid, pid, tid; in do_test() local 102 if (read (pipefd[0], &tid, sizeof tid) != sizeof tid) in do_test() 115 if ((ppid != own_pid) || (pid == own_pid) || (tid == own_tid)) in do_test() 117 (int)ppid, (int)pid, (int)tid, (int)own_pid, (int)own_tid); in do_test()
|
A D | tst-clone2.c | 47 pid_t tid = syscall (__NR_gettid); in f() local 53 if (write (pipefd[1], &tid, sizeof tid) != sizeof (tid)) in f() 96 pid_t ppid, pid, tid; in do_test() local 107 if (read (pipefd[0], &tid, sizeof tid) != sizeof tid) in do_test() 122 if ((ppid != own_pid) || (pid == own_pid) || (tid == own_tid)) in do_test() 124 (int)ppid, (int)pid, (int)tid, (int)own_pid, (int)own_tid); in do_test()
|
A D | tst-clone3.c | 79 pid_t tid; in do_test() local 85 tid = __clone2 (f, st, sizeof (st), clone_flags, NULL, /* ptid */ NULL, in do_test() 89 tid = clone (f, st + sizeof (st), clone_flags, NULL, /* ptid */ NULL, in do_test() 92 tid = clone (f, st, clone_flags, NULL, /* ptid */ NULL, /* tls */ NULL, in do_test() 98 if (tid == -1) in do_test()
|
A D | tst-clone3-internal.c | 79 pid_t tid; in do_test() local 89 tid = __clone_internal (&clone_args, f, NULL); in do_test() 90 if (tid == -1) in do_test()
|
A D | kernel-posix-cpu-timers.h | 17 #define MAKE_THREAD_CPUCLOCK(tid, clock) \ argument 18 MAKE_PROCESS_CPUCLOCK((tid), (clock) | CPUCLOCK_PERTHREAD_MASK)
|
A D | tst-tgkill.c | 42 pid_t tid; member 56 TEST_COMPARE (tgkill (getpid (), ids->tid, SIGUSR2), -1); in subprocess_no_tid_match() 102 .tid = gettid (), in threadfunc() 109 .tid = getpid (), in threadfunc()
|
A D | timer_routines.c | 150 __timer_helper_tid = ((struct pthread *) th)->tid; in __timer_start_helper_thread()
|
/sysdeps/powerpc/ |
A D | test-get_hwcap.c | 51 uint64_t check_tcbhwcap (long tid) in check_tcbhwcap() argument 113 PRIx64 " for thread %ld.\n", tcb_hwcap, hwcap, tid); in check_tcbhwcap() 128 " for thread %ld\n", tcb_at_platform, at_platform, tid); in check_tcbhwcap() 135 void *t1 (void *tid) in t1() argument 137 if (check_tcbhwcap ((long) tid)) in t1() 139 pthread_exit (tid); in t1()
|
/sysdeps/pthread/ |
A D | tst-basic7.c | 55 pthread_t tid; in do_test() local 66 err = pthread_create (&tid, NULL, child, NULL); in do_test()
|
/sysdeps/s390/nptl/ |
A D | tcb-offsets.sym | 6 TID offsetof (struct pthread, tid)
|
/sysdeps/sparc/nptl/ |
A D | tcb-offsets.sym | 6 TID offsetof (struct pthread, tid)
|
/sysdeps/ia64/nptl/ |
A D | tcb-offsets.sym | 4 TID offsetof (struct pthread, tid) - TLS_PRE_TCB_SIZE
|
/sysdeps/nptl/ |
A D | dl-tls_init_tp.c | 75 pd->tid = INTERNAL_SYSCALL_CALL (set_tid_address, &pd->tid); in __tls_init_tp()
|
A D | _Fork.c | 28 pid_t pid = arch_fork (&THREAD_SELF->tid); in _Fork()
|
A D | fork.h | 107 curp->tid = 0; in reclaim_stacks()
|
A D | pthreadP.h | 244 #define INVALID_TD_P(pd) __builtin_expect ((pd)->tid <= 0, 0) 245 #define INVALID_NOT_TERMINATED_TD_P(pd) __builtin_expect ((pd)->tid < 0, 0)
|
/sysdeps/nios2/nptl/ |
A D | tcb-offsets.sym | 12 TID_OFFSET thread_offsetof (tid)
|
/sysdeps/sh/nptl/ |
A D | tcb-offsets.sym | 6 TID offsetof (struct pthread, tid)
|
/sysdeps/i386/nptl/ |
A D | tcb-offsets.sym | 6 TID offsetof (struct pthread, tid)
|
/sysdeps/x86_64/nptl/ |
A D | tcb-offsets.sym | 6 TID offsetof (struct pthread, tid)
|
/sysdeps/powerpc/nptl/ |
A D | tcb-offsets.sym | 16 TID thread_offsetof (tid)
|