diff options
author | Adam Jackson <ajax@nwnk.net> | 2017-03-15 12:08:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-03-21 10:58:08 +0100 |
commit | f5301dee4e400698f5b8ea324686b8daba75152d (patch) | |
tree | 979150a94645046d512c3f7e87aebd5353795b67 /nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | |
parent | 4f76ed19b8a7b9448e29ac152f7f5ec1e611950e (diff) | |
download | nx-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/hw/nxagent/NXdispatch.c')
0 files changed, 0 insertions, 0 deletions