bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/7] hurd: add notification callbacks for the process management


From: Justus Winter
Subject: [PATCH 3/7] hurd: add notification callbacks for the process management
Date: Mon, 16 Sep 2013 16:09:01 +0200

XXX

* hurd/process_notify.defs: New file.
---
 hurd/process_notify.defs |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 hurd/process_notify.defs

diff --git a/hurd/process_notify.defs b/hurd/process_notify.defs
new file mode 100644
index 0000000..7972ef7
--- /dev/null
+++ b/hurd/process_notify.defs
@@ -0,0 +1,21 @@
+/* XXX */
+
+subsystem process_notify 24500;
+
+#include <hurd/hurd_types.defs>
+
+#ifdef PROCESS_NOTIFY_IMPORTS
+PROCESS_NOTIFY_IMPORTS
+#endif
+
+/* For maximum robustness, the server must not wait for the client to
+   receive the notification message.  This is achieved by setting a
+   send timeout (XXX which is implicitely 0 with MACH_MSG_TIMEOUT_NONE).  */
+MsgOption MACH_SEND_TIMEOUT;
+
+/* XXX: Notify that a process has been created or died.  */
+simpleroutine notify_process_changed (
+       notify_port: mach_port_t;
+       pid: pid_t;
+       ppid: pid_t;
+       dead: boolean_t);
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]