summaryrefslogtreecommitdiff
path: root/proc/proc.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-12 08:53:12 +0000
committerRoland McGrath <roland@gnu.org>2000-03-12 08:53:12 +0000
commit4f8655657b7afd3628283be6bcb114806423cd32 (patch)
treeb0d29d25580c8dd9eb117c8a7e4d543f22e04151 /proc/proc.h
parent58d9238df8bd21eefc0f9836211a3365ba4d6261 (diff)
2000-03-12 Roland McGrath <roland@baalperazim.frob.com>
* mgt.c (allocate_proc): Don't do mach_port_request_notification here. (proc_death_notify): New function, do it here instead. (complete_proc): Call proc_death_notify. * main.c (main): Call proc_death_notify on STARTUP_PROC after we have set its task port. * proc.h: Declare proc_death_notify.
Diffstat (limited to 'proc/proc.h')
-rw-r--r--proc/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/proc.h b/proc/proc.h
index 0022b132..1344df03 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -192,6 +192,7 @@ int pidfree (pid_t);
struct proc *create_startup_proc (void);
struct proc *allocate_proc (task_t);
+void proc_death_notify (struct proc *);
void complete_proc (struct proc *, pid_t);
void leave_pgrp (struct proc *);