linkchecker/linkcheck/director
Marius Gedminas e274d74be2 Wait for threads to exit after stopping them
This fixes a race condition where the main thread would check if any
internal errors happened and get back a 0 while a worker thread was
still busy printing the internal error message before incrementing the
counter.

Fixes #320.

My experiments show that this adds no perceptible delay to the script
runtime (on Linux).  More specifically, there already is an annoying
perceptible delay of about 1 second, but it's not caused by this change.
2019-10-21 18:23:58 +03:00
..
__init__.py Python3: fix imports 2018-01-19 09:52:43 +01:00
aggregator.py Wait for threads to exit after stopping them 2019-10-21 18:23:58 +03:00
checker.py Merge Mark-Hetherington-xml-parse-warn with slight modifications. 2014-06-13 20:50:37 +02:00
console.py Remove unnecessary unicode() from StatusLogger.writeln() 2019-09-30 20:06:48 +01:00
interrupt.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
logger.py Python3: fix imports 2018-01-19 09:52:43 +01:00
status.py Log number of checked unique URLs. 2014-03-14 23:46:17 +01:00
task.py Python3: fix imports 2018-01-19 09:52:43 +01:00