diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-08 18:10:25 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-08 18:10:25 +0000 |
commit | 01d723e6ba82714f9ffc4826a8169dfaf321a7d0 (patch) | |
tree | d309fb299a18c0ff8407ee8eb6aa06eb516ccbc6 | |
parent | 4e28593cbe1d504aba3105b05871e6aa43d4e18f (diff) |
(S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS for now.
-rw-r--r-- | proc/info.c | 9 |
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) { |