]> git.ipfire.org Git - thirdparty/bacula.git/commit
Improve the FD cancel function while stopping the heartbeat process
authorEric Bollengier <eric@baculasystems.com>
Mon, 22 Mar 2021 08:17:19 +0000 (09:17 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:00 +0000 (09:03 +0100)
commitf8d03da345b9299fb01f81a7350d644c0cd83bad
tree9bbb34668ff7f3e1af9d5edf8173a1161df6a1e5
parent04d47204a30a6f5f4514026ec64362b614fb9fd2
Improve the FD cancel function while stopping the heartbeat process

While stopping the FD, the heartbeat thread can stop very quickly
and the code that helps to synchronize the two thread was not able
to make the difference between a heartbeat not started and stopped.
bacula/src/filed/heartbeat.c
bacula/src/jcr.h