[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/7] hurd: add notification callbacks for the process management
From: |
Justus Winter |
Subject: |
[PATCH 5/7] hurd: add notification callbacks for the process management |
Date: |
Thu, 5 Sep 2013 18:38:41 +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
- process change notification prototype, Justus Winter, 2013/09/05
- [PATCH 1/7] proc: remove unused file exc-reply.defs, Justus Winter, 2013/09/05
- [PATCH 2/7] proc: Remove unused declaration of zombie_list, Justus Winter, 2013/09/05
- [PATCH 3/7] libihash: add HURD_IHASH_ITERATE_ITEMS macro, Justus Winter, 2013/09/05
- [PATCH 4/7] libnotify: add a general notification library, Justus Winter, 2013/09/05
- [PATCH 6/7] proc: implement proc_notify_new_processes, Justus Winter, 2013/09/05
- [PATCH 5/7] hurd: add notification callbacks for the process management,
Justus Winter <=
- [PATCH 7/7] hurd: add proc_notify_new_processes, Justus Winter, 2013/09/05