• Adam Jackson's avatar
    Move SIGUSR1 notification as late as possible. · f5301dee
    Adam Jackson authored
     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: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
    f5301dee
main.c 23.3 KB