aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2017-03-15 12:08:46 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-21 10:58:08 +0100
commitf5301dee4e400698f5b8ea324686b8daba75152d (patch)
tree979150a94645046d512c3f7e87aebd5353795b67 /nx-X11/programs/Xserver/include
parent4f76ed19b8a7b9448e29ac152f7f5ec1e611950e (diff)
downloadnx-libs-f5301dee4e400698f5b8ea324686b8daba75152d.tar.gz
nx-libs-f5301dee4e400698f5b8ea324686b8daba75152d.tar.bz2
nx-libs-f5301dee4e400698f5b8ea324686b8daba75152d.zip
Move SIGUSR1 notification as late as possible.
commit f01e149d1af14ef9ee0e8a6743ab6a08f3bb677c Author: Adam Jackson <ajax@redhat.com> Date: Thu Nov 1 15:41:11 2007 -0400 Move SIGUSR1 notification as late as possible. If we inherited a signal mask from the parent process that ignores SIGUSR1, then we will send SIGUSR1 to the parent to indicate when we're ready to accept connections. Unfortunately, we send this notification way too early, right after creating the sockets rather than just before entering the main loop. Move it to just before Dispatch() so we're not lying quite so much. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver/include')
-rw-r--r--nx-X11/programs/Xserver/include/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/include/os.h b/nx-X11/programs/Xserver/include/os.h
index 5de8463e7..5dd5e2012 100644
--- a/nx-X11/programs/Xserver/include/os.h
+++ b/nx-X11/programs/Xserver/include/os.h
@@ -120,6 +120,8 @@ extern void ResetOsBuffers(void);
extern void InitConnectionLimits(void);
+extern void NotifyParentProcess(void);
+
extern void CreateWellKnownSockets(void);
extern void ResetWellKnownSockets(void);