• Jasper St. Pierre's avatar
    server: Process SIGUSR1 more carefully · 956d7d1c
    Jasper St. Pierre authored
    If the slave is removed as a separate process, it means that we need
    to be more careful with our handling of SIGUSR1. If multiple X servers
    are launched at once, we need to use siginfo_t to get the PID of the
    thing that sent the user signal, and make sure we signal the correct
    glib doesn't have native siginfo support, so do it ourselves by using
    a worker thread that spins around waiting for sigwaitinfo.
main.c 13.4 KB