From: Andre Noll Date: Thu, 13 Mar 2014 08:41:44 +0000 (+0100) Subject: gui: Improve config reload. X-Git-Tag: v0.5.3~12^2~19 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4207df0cbc1fcaa2ddb76febf82f25a23a0fb62d;hp=4207df0cbc1fcaa2ddb76febf82f25a23a0fb62d gui: Improve config reload. There are two ways to make para_gui reload its config file: Sending SIGUSR1 and running the internal reread_conf command. When SIGUSR1 is received, signal_post_select() calls com_reread_conf(). This is a layer violation since command handlers should only be called from the input task. This patch provides the generic function reread_conf() which is called from both the command handler and from signal_post_select(). ---