From f820de858bfffac04855ef784a6f3233b00891e6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 19 Jan 1995 08:34:22 +0000 Subject: More of same. --- proc/mgt.c | 10 ++++++---- proc/pgrp.c | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'proc') 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); } -- cgit v1.2.3