From 41b090a725d694cc794ea5eef8d9a534e2ae0691 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 8 Nov 1995 18:32:53 +0000 Subject: (S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS differently. --- proc/info.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proc/info.c') diff --git a/proc/info.c b/proc/info.c index 7169fe09..23f23c5c 100644 --- a/proc/info.c +++ b/proc/info.c @@ -321,9 +321,6 @@ S_proc_getprocinfo (struct proc *callerp, if (!p) return ESRCH; - /* Avoid nasty blockage; awaiting further thought. XXX */ - flags &= ~PI_FETCH_THREAD_WAITS; - if (flags & (PI_FETCH_THREAD_SCHED | PI_FETCH_THREAD_BASIC | PI_FETCH_THREAD_WAITS)) flags |= PI_FETCH_THREADS; @@ -419,10 +416,13 @@ S_proc_getprocinfo (struct proc *callerp, if ((flags & PI_FETCH_THREAD_WAITS) && p->p_msgport != MACH_PORT_NULL && !p->p_deadmsg) +#ifdef notyet /* Errors are not significant here. */ msg_report_wait (p->p_msgport, thds[i], &pi->threadinfos[i].rpc_block); - +#else + pi->threadinfos[i].rpc_block = 0; +#endif mach_port_deallocate (mach_task_self (), thds[i]); } -- cgit v1.2.3