mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
07e7a0c237
A main thread might attempt to stop livecycle thread by stopping the runloop and waiting on joining the lifecycle thread. However if this happens before lifecycle thread has started runloop, main thread will hang on join since runloop won't be stopped. Fix by introducing atomic bool "halt" flag, which is set in the main thread when it wants to stop the livecycle thread. Before starting runloop, a one-shot timer task is scheduled to be executed, which checks halt and stops runloop if needed. Fixes OVPN3-992. Signed-off-by: Lev Stipakov <lev@openvpn.net> |
||
---|---|---|
.. | ||
cf | ||
iosactiveiface.hpp | ||
maclife.hpp | ||
macsleep.hpp | ||
macver.hpp | ||
reach.hpp | ||
reachable.hpp | ||
scdynstore.hpp | ||
ver.hpp |