From 7e1c962bc48165b8e2ae4d6f1273d2f7d0b934fb Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 30 Oct 1995 21:16:05 +0000 Subject: (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'. --- hurd/hurd_types.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 #include +/* 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]; -- cgit v1.2.3