diff options
author | Rudolfs Kreicbergs <git-no-reply@zabbix.com> | 2011-07-20 16:01:26 +0400 |
---|---|---|
committer | Rudolfs Kreicbergs <git-no-reply@zabbix.com> | 2011-07-20 16:01:26 +0400 |
commit | eb001955c5e424384c969cd31861049a4c8114a7 (patch) | |
tree | 376f714baf6d7f638120479480ef6758f79c2daa /include/daemon.h | |
parent | 6b916cad6b1ceb157408ca28b3a283839f5a3bf7 (diff) |
- [ZBX-3902] fixed possible zombie states in UNIX, moved watchdog (server) and heartbeats (proxy) to separate processes (main process just waits), added more logging to exiting Windows agent
[Merged from 1.8 r20693]
Diffstat (limited to 'include/daemon.h')
-rw-r--r-- | include/daemon.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/daemon.h b/include/daemon.h index 17b48344520..e18eab18ad6 100644 --- a/include/daemon.h +++ b/include/daemon.h @@ -22,7 +22,7 @@ #if defined(_WINDOWS) # error "This module allowed only for Unix OS" -#endif /* _WINDOWS */ +#endif #define USE_PID_FILE 1 @@ -33,9 +33,6 @@ extern char *CONFIG_PID_FILE; int daemon_start(int allow_root); void daemon_stop(); -void set_parent_signal_handler(); -void set_child_signal_handler(); - int zbx_sigusr_send(zbx_task_t task); #define ZBX_IS_RUNNING() 1 @@ -43,4 +40,4 @@ int zbx_sigusr_send(zbx_task_t task); #define START_MAIN_ZABBIX_ENTRY(a) daemon_start(a) -#endif /* ZABBIX_DAEMON_H */ +#endif /* ZABBIX_DAEMON_H */ |