From 2f71b647f48592ced0811ec66907068a3e236d6a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Jan 2009 18:51:17 +0100 Subject: 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. --- src/event_pipe.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/event_pipe.h') diff --git a/src/event_pipe.h b/src/event_pipe.h index 8da10c759..3888939c8 100644 --- a/src/event_pipe.h +++ b/src/event_pipe.h @@ -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 }; -- cgit v1.2.3