summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-12 20:01:10 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-12 20:01:10 +0000
commitcdde0c414d7d48c8aaeb9eef8e3d444f156cc1a2 (patch)
tree56eb82bd36fa9cd7bb0104bea91289a51c851df2 /init
parent3abf996d2120cf568662b872321c5de400440243 (diff)
(S_startup_request_notification): Doc fix.
Diffstat (limited to 'init')
-rw-r--r--init/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 0fc64c40..d6109a33 100644
--- a/init/init.c
+++ b/init/init.c
@@ -887,6 +887,9 @@ S_startup_request_notification (mach_port_t server,
if (prev != MACH_PORT_NULL)
mach_port_deallocate (mach_task_self (), prev);
+ /* Note that the ntfy_tasks list is kept in inverse order of the
+ calls; this is important. We need later notification requests
+ to get executed first. */
nt = malloc (sizeof (struct ntfy_task));
nt->notify_port = notify;
nt->next = ntfy_tasks;