From 4f535b88412edf2b61aa2130a6ecd2e6744e6bea Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 Nov 1995 18:01:25 +0000 Subject: (S_proc_wait): Also return EBUSY if P->msgportwait, because both share the same memory in the proc structure. --- proc/wait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proc/wait.c') 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; -- cgit v1.2.3