summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-10-27 18:53:03 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-10-27 18:53:03 +0000
commit67b7ab0444c9aa38511e6923423d4109bdc27092 (patch)
treeccb48afc0e4c30e24063b0659dcffe9027c954d0
parent8130a74f97f281bfcf8196934021a8f7d2cb8567 (diff)
(msg_report_wait): New RPC.
-rw-r--r--hurd/msg.defs9
1 files changed, 9 insertions, 0 deletions
diff --git a/hurd/msg.defs b/hurd/msg.defs
index fc0f240f..9931b211 100644
--- a/hurd/msg.defs
+++ b/hurd/msg.defs
@@ -210,3 +210,12 @@ routine msg_clear_some_exec_flags (
process: mach_port_t;
refport: mach_port_t;
flags: int);
+
+/* Return a string describing why THREAD is waiting. (THREAD should
+ be interpreted as an index into the threads as ordered by the
+ kernel in task_threads.) If the thread is not waiting, or the reason
+ is unknown, return an empty string. */
+routine msg_report_wait (
+ process: mach_port_t;
+ thread: int;
+ out wait_reason: string_t);