sig_handlers: use event_pipe for delivering SIGHUP

The signal_check library went out of order when we started using the
GLib main loop.  Convert the SIGHUP handler to use event_pipe instead.
This commit is contained in:
Max Kellermann
2009-01-01 18:51:17 +01:00
parent e93136ef0f
commit 2f71b647f4
3 changed files with 17 additions and 13 deletions

View File

@@ -40,6 +40,9 @@ enum pipe_event {
/** must call syncPlayerAndPlaylist() */
PIPE_EVENT_PLAYLIST,
/** SIGHUP received: reload configuration, roll log file */
PIPE_EVENT_RELOAD,
PIPE_EVENT_MAX
};