3ee803c2ba
If ETP_DEBUG_WATCHDOG env variable is set, entropy.const will create a timer thread that prints to stderr the full application thread dump. This is quite useful in case of hard to reproduce deadlocks at the library level.