Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 21 of 21) sorted by relevance

/sysdeps/unix/sysv/linux/
A Dtst-clone2-internal.c47 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 Dtst-clone2.c47 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 Dtst-clone3.c79 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 Dtst-clone3-internal.c79 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 Dkernel-posix-cpu-timers.h17 #define MAKE_THREAD_CPUCLOCK(tid, clock) \ argument
18 MAKE_PROCESS_CPUCLOCK((tid), (clock) | CPUCLOCK_PERTHREAD_MASK)
A Dtst-tgkill.c42 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 Dtimer_routines.c150 __timer_helper_tid = ((struct pthread *) th)->tid; in __timer_start_helper_thread()
/sysdeps/powerpc/
A Dtest-get_hwcap.c51 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 Dtst-basic7.c55 pthread_t tid; in do_test() local
66 err = pthread_create (&tid, NULL, child, NULL); in do_test()
/sysdeps/s390/nptl/
A Dtcb-offsets.sym6 TID offsetof (struct pthread, tid)
/sysdeps/sparc/nptl/
A Dtcb-offsets.sym6 TID offsetof (struct pthread, tid)
/sysdeps/ia64/nptl/
A Dtcb-offsets.sym4 TID offsetof (struct pthread, tid) - TLS_PRE_TCB_SIZE
/sysdeps/nptl/
A Ddl-tls_init_tp.c75 pd->tid = INTERNAL_SYSCALL_CALL (set_tid_address, &pd->tid); in __tls_init_tp()
A D_Fork.c28 pid_t pid = arch_fork (&THREAD_SELF->tid); in _Fork()
A Dfork.h107 curp->tid = 0; in reclaim_stacks()
A DpthreadP.h244 #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 Dtcb-offsets.sym12 TID_OFFSET thread_offsetof (tid)
/sysdeps/sh/nptl/
A Dtcb-offsets.sym6 TID offsetof (struct pthread, tid)
/sysdeps/i386/nptl/
A Dtcb-offsets.sym6 TID offsetof (struct pthread, tid)
/sysdeps/x86_64/nptl/
A Dtcb-offsets.sym6 TID offsetof (struct pthread, tid)
/sysdeps/powerpc/nptl/
A Dtcb-offsets.sym16 TID thread_offsetof (tid)

Completed in 15 milliseconds