diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-08 18:32:53 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-08 18:32:53 +0000 |
commit | 41b090a725d694cc794ea5eef8d9a534e2ae0691 (patch) | |
tree | 83882054207d98876afc650ffe813e8a918cc542 /proc | |
parent | 288cf6cda6f27161242e8e87656c2cd288c33ebc (diff) |
(S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS differently.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/info.c | 8 |
1 files changed, 4 insertions, 4 deletions
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]); } |