Patch from Jon Trowbridge <trow@ximian.com>:
authorKristian Høgsberg <krh@redhat.com>
Thu, 20 May 2004 18:45:16 +0000 (18:45 +0000)
committerKristian Høgsberg <krh@redhat.com>
Thu, 20 May 2004 18:45:16 +0000 (18:45 +0000)
commit1919d92d850f247d70cb6821724c4908bf70eeda
tree34386861a6674be7204038867a2028083e0dcb9a
parentce11c651a07e75c5a78fa66d8294003a65291c89
Patch from Jon Trowbridge <trow@ximian.com>:

  * bus/main.c (setup_reload_pipe): Added.  Creates a pipe and sets
  up a watch that triggers a config reload when one end of the pipe
  becomes readable.
  (signal_handler): Instead of doing the config reload in our SIGHUP
  handler, just write to the reload pipe and let the associated
  watch handle the reload when control returns to the main loop.

  * bus/driver.c (bus_driver_handle_reload_config): Added.
  Implements a ReloadConfig method for requesting a configuration
  file reload via the bus driver.
ChangeLog
bus/driver.c
bus/main.c