Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2019-07-04 17:35:36 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2019-07-04 17:38:48 +0300
commit8a76a4b4b670795796f70b69d170fd36b03cf2d4 (patch)
tree9a1befa16f59f28124efe314f9471350d7c1fcf6 /include/threads.h
parentd5d82f4270dd6b54be8d8cf01830f020fc30367f (diff)
...G...PS. [ZBX-9867] fixed Zabbix daemon termination
(cherry picked from commit 857b9bea1fdb2e5f20642b10aeb8c4d5827615bb)
Diffstat (limited to 'include/threads.h')
-rw-r--r--include/threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/threads.h b/include/threads.h
index 5fa6c981c86..3d8fdd29a77 100644
--- a/include/threads.h
+++ b/include/threads.h
@@ -72,7 +72,7 @@
#define zbx_sleep(sec) sleep((sec))
- #define zbx_thread_kill(h) kill(h, SIGTERM)
+ #define zbx_thread_kill(h) kill(h, SIGUSR2)
#define zbx_thread_kill_fatal(h) kill(h, SIGQUIT)
#endif /* _WINDOWS */