diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-09 18:01:25 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-09 18:01:25 +0000 |
commit | 4f535b88412edf2b61aa2130a6ecd2e6744e6bea (patch) | |
tree | 1f853bd44d084dc2e3d21b3decaa074af5328685 /proc | |
parent | 0c29fca4560c05d973da90ddb746800ac5a312b9 (diff) |
(S_proc_wait): Also return EBUSY if P->msgportwait, because both share
the same memory in the proc structure.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/wait.c b/proc/wait.c index 267fc618..deac4e3e 100644 --- a/proc/wait.c +++ b/proc/wait.c @@ -222,7 +222,7 @@ S_proc_wait (struct proc *p, if (options & WNOHANG) return EWOULDBLOCK; - if (p->p_waiting) + if (p->p_waiting || p->msgportwait) return EBUSY; p->p_waiting = 1; |