Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 19 of 19) sorted by relevance

/libpthread/linuxthreads_db/
A Dtd_thr_getfpregs.c33 pid_t pid = ps_getpid (th->th_ta_p->ph); in td_thr_getfpregs() local
34 if (ps_lgetfpregs (th->th_ta_p->ph, pid, regset) != PS_OK) in td_thr_getfpregs()
50 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_getfpregs() local
52 if (ps_lgetfpregs (th->th_ta_p->ph, pid, regset) != PS_OK) in td_thr_getfpregs()
A Dtd_thr_getgregs.c33 pid_t pid = ps_getpid (th->th_ta_p->ph); in td_thr_getgregs() local
34 if (ps_lgetregs (th->th_ta_p->ph, pid, gregs) != PS_OK) in td_thr_getgregs()
50 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_getgregs() local
52 if (ps_lgetregs (th->th_ta_p->ph, pid, gregs) != PS_OK) in td_thr_getgregs()
A Dtd_thr_setfpregs.c39 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_setfpregs() local
41 if (ps_lsetfpregs (th->th_ta_p->ph, pid, fpregs) != PS_OK) in td_thr_setfpregs()
A Dtd_thr_setgregs.c39 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_setgregs() local
41 if (ps_lsetregs (th->th_ta_p->ph, pid, gregs) != PS_OK) in td_thr_setgregs()
/libpthread/nptl/sysdeps/unix/sysv/linux/
A Draise.c41 pid_t pid = INTERNAL_SYSCALL (getpid, err, 0); in raise() local
44 int ret = INLINE_SYSCALL (tgkill, 3, pid, tid, sig); in raise()
A Dpthread_sigqueue.c56 pid_t pid = getpid (); in pthread_sigqueue() local
63 info.si_pid = pid; in pthread_sigqueue()
71 pid, tid, signo, &info); in pthread_sigqueue()
A Dpthread_kill.c62 pid_t pid = getpid (); in __pthread_kill() local
64 val = INTERNAL_SYSCALL (tgkill, err, 3, pid, tid, signo); in __pthread_kill()
A Dfork.c70 pid_t pid; in fork() local
139 pid = ARCH_FORK (); in fork()
142 pid = INLINE_SYSCALL (fork, 0); in fork()
146 if (pid == 0) in fork()
207 return pid; in fork()
A Dnot-cancel.h87 # define waitpid_not_cancel(pid, stat_loc, options) \ argument
88 INLINE_SYSCALL (waitpid, 3, pid, stat_loc, options)
90 # define waitpid_not_cancel(pid, stat_loc, options) \ argument
91 INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
/libpthread/nptl/
A Dpthread_cancel.c78 pid_t pid = getpid (); in pthread_cancel() local
80 val = INTERNAL_SYSCALL (tgkill, err, 3, pid, pd->tid, SIGCANCEL); in pthread_cancel()
A Dallocatestack.c947 pid_t pid = getpid (); in setxid_signal_thread() local
949 val = INTERNAL_SYSCALL (tgkill, err, 3, pid, t->tid, SIGSETXID); in setxid_signal_thread()
/libpthread/linuxthreads/
A Dptfork.c98 pid_t pid; in __fork() local
118 pid = __libc_fork(); in __fork()
119 if (pid == 0) { in __fork()
148 return pid; in __fork()
A Dmanager.c492 int pid; in pthread_handle_create() local
628 if (pid != -1) in pthread_handle_create()
641 new_thread->p_pid = pid; in pthread_handle_create()
651 if (pid == 0) in pthread_handle_create()
667 if (pid == -1) { in pthread_handle_create()
693 PDEBUG("new thread pid = %d\n", pid); in pthread_handle_create()
715 new_thread->p_pid = pid; in pthread_handle_create()
782 static void pthread_exited(pid_t pid) in pthread_exited() argument
790 if (th->p_pid == pid) { in pthread_exited()
834 pid_t pid; in pthread_reap_children() local
[all …]
A Dpthread.c415 int pid; in __pthread_initialize_manager() local
446 pid = 0; in __pthread_initialize_manager()
473 pid = __clone2(__pthread_manager_event, in __pthread_initialize_manager()
479 pid = clone(__pthread_manager_event, in __pthread_initialize_manager()
485 if (pid != -1) in __pthread_initialize_manager()
506 if (pid == 0) { in __pthread_initialize_manager()
518 if (pid == -1) { in __pthread_initialize_manager()
527 __pthread_manager_thread.p_pid = pid; in __pthread_initialize_manager()
663 int pid, pol; in libpthread_hidden_def() local
670 pid = handle->h_descr->p_pid; in libpthread_hidden_def()
[all …]
A Dcancel.c70 int pid; in libpthread_hidden_def() local
93 pid = th->p_pid; in libpthread_hidden_def()
120 kill(pid, __pthread_sig_cancel); in libpthread_hidden_def()
A Dsignals.c61 int pid; in pthread_kill() local
68 pid = handle->h_descr->p_pid; in pthread_kill()
70 if (kill(pid, signo) == -1) in pthread_kill()
A Dwrapsyscall.c176 CANCELABLE_SYSCALL (__pid_t, waitpid, (__pid_t pid, int *stat_loc,
178 (pid, stat_loc, options))
/libpthread/linuxthreads/sysdeps/pthread/
A Dnot-cancel.h87 # define waitpid_not_cancel(pid, stat_loc, options) \ argument
88 INLINE_SYSCALL (waitpid, 3, pid, stat_loc, options)
90 # define waitpid_not_cancel(pid, stat_loc, options) \ argument
91 INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
/libpthread/nptl/sysdeps/pthread/
A Dcreatethread.c94 pid_t pid = getpid (); in do_clone() local
109 (void) INTERNAL_SYSCALL (tgkill, err2, 3, pid, pd->tid, SIGCANCEL); in do_clone()

Completed in 25 milliseconds