summaryrefslogtreecommitdiff
path: root/proc/notify.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-03-09 20:39:31 +0000
committerThomas Bushnell <thomas@gnu.org>1999-03-09 20:39:31 +0000
commit3cbc9f6caa9361b1bb2bdfc6ebd9993ff140d2ee (patch)
tree144dfc43bd6a17d11e73de331678047f199fdcbd /proc/notify.c
parente7968c5ea19d934e596a76ff7c7356d27da64139 (diff)
Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu>
* notify.c (do_mach_notify_dead_name): Don't check against P->p_msgport anymore. * msg.c (message_port_dead): Delete function. (S_proc_setmsgport): Don't request a dead-name notification anymore. (S_proc_getmsgport): Check to see if P->p_msgport is dead before returning it. * mgt.c (S_proc_reassign): Only use mach_port_deallocate to release P->msgport. (process_has_exited): Likewise. * proc.h (message_port_dead): Delete prototype.
Diffstat (limited to 'proc/notify.c')
-rw-r--r--proc/notify.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/proc/notify.c b/proc/notify.c
index 7ab8d56b..d0fd2f60 100644
--- a/proc/notify.c
+++ b/proc/notify.c
@@ -57,13 +57,7 @@ do_mach_notify_dead_name (mach_port_t notify,
return EOPNOTSUPP;
}
- if (p->p_msgport == deadport)
- {
- message_port_dead (p);
- ports_port_deref (p);
- return 0;
- }
- else if (p->p_task == deadport)
+ if (p->p_task == deadport)
{
process_has_exited (p);
ports_port_deref (p);