summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-10-30 21:16:05 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-10-30 21:16:05 +0000
commit7e1c962bc48165b8e2ae4d6f1273d2f7d0b934fb (patch)
tree23cd76e18eb889fc0a3b4a1462ba1abf0cbe3eea /hurd
parent7e05e8d92ed964ae4175cbd29be65b3f46ff30b9 (diff)
(PI_FETCH_TASKINFO, PI_FETCH_THREADS, PI_FETCH_THREAD_BASIC,
PI_FETCH_THREAD_SCHED, PI_FETCH_THREAD_WAITS): New flags. (procinfo): New (buried) member `rpc_block'.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index ef9f796b..05bc436a 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -231,6 +231,13 @@ typedef struct fsys_statfsbuf fsys_statfsbuf_t;
#include <mach/task_info.h>
#include <mach/thread_info.h>
+/* Flags sent in proc_getprocinfo request. */
+#define PI_FETCH_TASKINFO 0x00000001
+#define PI_FETCH_THREADS 0x00000002
+#define PI_FETCH_THREAD_BASIC 0x00004
+#define PI_FETCH_THREAD_SCHED 0x00008
+#define PI_FETCH_THREAD_WAITS 0x00010
+
struct procinfo
{
int state;
@@ -245,6 +252,7 @@ struct procinfo
struct task_basic_info taskinfo;
struct
{
+ int rpc_block; /* thred is blocked on this RPC */
struct thread_basic_info pis_bi;
struct thread_sched_info pis_si;
} threadinfos[0];