• Carlos Garcia Campos's avatar
    regtest: Allow to interrupt run-tests and create-refs commands when multiple threads are used · 25bb59a8
    Carlos Garcia Campos authored
    The Queue join implementation uses a non-timed wait that blocks the main
    thread, making it impossible to interrupt it with CTRL+C or sending
    SIGINT signal. Using any timeout value for wait would fix the problem,
    but Queue doesn't allow to pass a timeout to the join method. The
    Queue implementation is actually quite simple, so we can just add our
    own implementation with only the things we really need and use a timeout
    value when calling wait() in join().
    25bb59a8
Name
Last commit
Last update
..
backends Loading commit data...
builder Loading commit data...
commands Loading commit data...
.gitignore Loading commit data...
Bisect.py Loading commit data...
Config.py Loading commit data...
HTMLReport.py Loading commit data...
InterruptibleQueue.py Loading commit data...
Printer.py Loading commit data...
TestReferences.py Loading commit data...
TestRun.py Loading commit data...
Timer.py Loading commit data...
Utils.py Loading commit data...
main.py Loading commit data...
poppler-regtest Loading commit data...