summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-08 18:10:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-08 18:10:25 +0000
commit01d723e6ba82714f9ffc4826a8169dfaf321a7d0 (patch)
treed309fb299a18c0ff8407ee8eb6aa06eb516ccbc6 /proc
parent4e28593cbe1d504aba3105b05871e6aa43d4e18f (diff)
(S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS for now.
Diffstat (limited to 'proc')
-rw-r--r--proc/info.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/proc/info.c b/proc/info.c
index 063434d1..f8fcda2e 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -321,9 +321,12 @@ S_proc_getprocinfo (struct proc *callerp,
if (!p)
return ESRCH;
- if (flags & (PI_FETCH_THREAD_SCHED | PI_FETCH_THREAD_BASIC
- | PI_FETCH_THREAD_WAITS))
- flags |= PI_FETCH_THREADS;
+ /* 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;
if (flags & PI_FETCH_THREADS)
{