diff options
author | Kristian Høgsberg <krh@redhat.com> | 2004-05-20 18:45:16 +0000 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2004-05-20 18:45:16 +0000 |
commit | 1919d92d850f247d70cb6821724c4908bf70eeda (patch) | |
tree | 34386861a6674be7204038867a2028083e0dcb9a /test/break-loader.c | |
parent | ce11c651a07e75c5a78fa66d8294003a65291c89 (diff) |
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.
Diffstat (limited to 'test/break-loader.c')
0 files changed, 0 insertions, 0 deletions