Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
authorroland <roland>
Wed, 29 May 1996 17:48:25 +0000 (17:48 +0000)
committerroland <roland>
Wed, 29 May 1996 17:48:25 +0000 (17:48 +0000)
* hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
itimer thread.

hurd/report-wait.c

index 7fc9293..18763d0 100644 (file)
@@ -93,6 +93,9 @@ describe_port (string_t description, mach_port_t port)
 }
 
 
+/* Common defn so we don't link in the itimer code unnecssarily.  */
+thread_t _hurd_itimer_thread; /* XXX */
+
 kern_return_t
 _S_msg_report_wait (mach_port_t msgport, thread_t thread,
                    string_t description, int *msgid)
@@ -102,6 +105,8 @@ _S_msg_report_wait (mach_port_t msgport, thread_t thread,
   if (thread == _hurd_msgport_thread)
     /* Cute.  */
     strcpy (description, "msgport");
+  else if (thread == _hurd_itimer_thread)
+    strcpy (description, "itimer");
   else
     {
       /* Make sure this is really one of our threads.  */