GNOME Bugzilla – Bug 724382
server: Process SIGUSR1 more carefully
Last modified: 2014-02-14 20:50:03 UTC
See patches.
Created attachment 269144 [details] [review] main: Remove debug log toggle on SIGUSR1 Trying to integrate the slave into the main daemon means that we need to respond to USR1 as it's the signal Xorg sends when the X server is ready.
Created attachment 269145 [details] [review] server: Process SIGUSR1 more carefully 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 GdmServer. glib doesn't have native siginfo support, so do it ourselves by using a worker thread that spins around waiting for sigwaitinfo.
Attachment 269144 [details] pushed as 98a32e4 - main: Remove debug log toggle on SIGUSR1 Attachment 269145 [details] pushed as 956d7d1 - server: Process SIGUSR1 more carefully