Home
last modified time | relevance | path

Searched refs:cur_thr (Results 1 – 4 of 4) sorted by relevance

/components/lwp/
A Dlwp_pid.c1054 handle->wq_node.polling_thread = cur_thr; in _wait_for_event()
1060 cur_thr->error = RT_EOK; in _wait_for_event()
1065 ret = rt_thread_suspend_with_flag(cur_thr, RT_INTERRUPTIBLE); in _wait_for_event()
1073 ret = cur_thr->error; in _wait_for_event()
1108 rc = _wait_for_event(cur_thr, self_lwp, &handle, pid); in _wait_and_reap()
1131 struct rt_thread *cur_thr; in lwp_waitpid() local
1134 cur_thr = rt_thread_self(); in lwp_waitpid()
1137 if (!cur_thr || !self_lwp) in lwp_waitpid()
1557 rt_thread_t cur_thr = rt_thread_self(); in _notify_parent() local
1559 ext->sigchld.stime = cur_thr->system_time; in _notify_parent()
[all …]
A Dlwp_signal.c593 static rt_err_t _stop_thread_locked(rt_lwp_t self_lwp, rt_thread_t cur_thr, int signo, in _stop_thread_locked() argument
607 if (iter != cur_thr) in _stop_thread_locked()
624 error = rt_thread_suspend_with_flag(cur_thr, RT_KILLABLE); in _stop_thread_locked()
634 sigqueue_ismember(_SIGQ(cur_thr), SIGCONT))) in _stop_thread_locked()
640 _notify_parent_and_leader(self_lwp, cur_thr, SIGCONT, RT_FALSE); in _stop_thread_locked()
/components/lwp/terminal/freebsd/
A Dtty_compat.c106 rt_thread_t cur_thr = rt_thread_self(); in lwp_tty_bg_stop() local
109 self_lwp = cur_thr->lwp; in lwp_tty_bg_stop()
119 if (!jobctl_stopped && header_thr == cur_thr && in lwp_tty_bg_stop()
120 cur_thr->sibling.prev == &self_lwp->t_grp) in lwp_tty_bg_stop()
/components/lwp/terminal/
A Dtty_ptmx.c28 rt_thread_t cur_thr = rt_thread_self(); in ptm_fops_open() local
37 rc = pts_alloc(FFLAGS(oflags & O_ACCMODE), cur_thr, file); in ptm_fops_open()

Completed in 13 milliseconds