PR_ASLEEP
if (psp->pr_flags & PR_ASLEEP)
flags |= PR_ASLEEP;
if (!(lsp->pr_flags & PR_ASLEEP) || !lwp_restartable(lsp->pr_syscall))
if (lsp->pr_flags & PR_ASLEEP) {
if ((flags & PR_ASLEEP) || (psp->pr_syscall &&
if (flags & PR_ASLEEP) {
if ((flags & ~PR_ASLEEP) != 0)
if (arg & PR_ASLEEP)
(PR_STOPPED|PR_ISTOP|PR_DSTOP|PR_ASLEEP|PR_PCINVAL|PR_STEP \
if ((psp->pr_flags & (PR_ASLEEP|PR_VFORKP)) ||
{ PR_ASLEEP, MSG_PR_FLAGS_ASLEEP },
if ((Lsp->pr_flags & PR_ASLEEP) &&
if ((Lsp->pr_flags & PR_ASLEEP) &&
if (what == 0 && (Lsp->pr_flags & (PR_ASLEEP|PR_VFORKP)))
!(Lsp->pr_flags & (PR_ASLEEP|PR_VFORKP))) {
if (what == 0 && (Lsp->pr_flags & (PR_ASLEEP|PR_VFORKP)))
int sbits = (PR_DSTOP | PR_ISTOP | PR_ASLEEP);
int sbits = (PR_DSTOP | PR_ISTOP | PR_ASLEEP);
if (lsp->pr_flags & PR_ASLEEP)
if (lsp->pr_flags & PR_ASLEEP)
if ((P->status.pr_lwp.pr_flags & PR_ASLEEP) ||
(P->status.pr_lwp.pr_flags & PR_ASLEEP) ?
if ((flags & (PR_AGENT|PR_ASLEEP)) == (PR_AGENT|PR_ASLEEP)) {
(P->status.pr_flags & PR_ASLEEP))
if ((lwp.pr_flags & PR_ASLEEP) == 0) {
if ((lwp.pr_flags & PR_ASLEEP) == 0)
flags |= PR_ASLEEP;
if ((flags & (PR_STOPPED|PR_ASLEEP)) && t->t_sysnum) {
flags |= PR_ASLEEP;
if ((flags & (PR_STOPPED|PR_ASLEEP)) && t->t_sysnum) {
flags |= PR_ASLEEP;
if ((flags & (PR_STOPPED|PR_ASLEEP)) && t->t_sysnum) {
flags |= PR_ASLEEP;
if ((flags & (PR_STOPPED|PR_ASLEEP)) && t->t_sysnum) {