summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-19 08:34:22 +0000
committerRoland McGrath <roland@gnu.org>1995-01-19 08:34:22 +0000
commitf820de858bfffac04855ef784a6f3233b00891e6 (patch)
tree9ae4b3bfd9ec1e57907afb7e084bcbc83460c613 /proc
parent31d7e98faa9973234f739c5d640e26aa7e34e81a (diff)
More of same.
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c10
-rw-r--r--proc/pgrp.c9
2 files changed, 11 insertions, 8 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 0111d325..26b86f91 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -593,13 +593,15 @@ process_has_exited (struct proc *p)
for (tp = p->p_ochild; tp->p_sib; tp = tp->p_sib)
{
if (tp->p_msgport != MACH_PORT_NULL)
- nowait_proc_newids (tp->p_msgport, tp->p_task, 1,
- tp->p_pgrp->pg_pgid, !tp->p_pgrp->pg_orphcnt);
+ nowait_msg_proc_newids (tp->p_msgport, tp->p_task,
+ 1, tp->p_pgrp->pg_pgid,
+ !tp->p_pgrp->pg_orphcnt);
tp->p_parent = startup_proc;
}
if (tp->p_msgport != MACH_PORT_NULL)
- nowait_proc_newids (tp->p_msgport, tp->p_task, 1, tp->p_pgrp->pg_pgid,
- !tp->p_pgrp->pg_orphcnt);
+ nowait_msg_proc_newids (tp->p_msgport, tp->p_task,
+ 1, tp->p_pgrp->pg_pgid,
+ !tp->p_pgrp->pg_orphcnt);
tp->p_parent = startup_proc;
/* And now nappend the lists. */
diff --git a/proc/pgrp.c b/proc/pgrp.c
index 04818ff5..a0231c79 100644
--- a/proc/pgrp.c
+++ b/proc/pgrp.c
@@ -369,7 +369,7 @@ leave_pgrp (struct proc *p)
if (ip->p_stopped)
dosignal = 1;
if (ip->p_msgport != MACH_PORT_NULL)
- nowait_proc_newids (ip->p_msgport, ip->p_task, ip->p_parent->p_pid,
+ nowait_msg_proc_newids (ip->p_msgport, ip->p_task, ip->p_parent->p_pid,
ip->p_pid, 1);
}
if (dosignal)
@@ -404,11 +404,12 @@ join_pgrp (struct proc *p)
/* Tell all the processes that their status has changed */
for (tp = pg->pg_plist; tp; tp = tp->p_gnext)
if (tp->p_msgport != MACH_PORT_NULL)
- nowait_proc_newids (tp->p_msgport, tp->p_task, tp->p_parent->p_pid,
- pg->pg_pgid, !pg->pg_orphcnt);
+ nowait_msg_proc_newids (tp->p_msgport, tp->p_task,
+ tp->p_parent->p_pid, pg->pg_pgid,
+ !pg->pg_orphcnt);
}
else if (p->p_msgport != MACH_PORT_NULL)
/* Always notify process P, because its pgrp has changed. */
- nowait_proc_newids (p->p_msgport, p->p_task,
+ nowait_msg_proc_newids (p->p_msgport, p->p_task,
p->p_parent->p_pid, pg->pg_pgid, !pg->pg_orphcnt);
}