I just want to try spaCy's multiprocessing pipe feature, and I put run the code inside ThreadJob to prevent these code to freeze calibre. If enable spacy's multiprocessing mode, it will create some processes run a `while` loop then terminate them when they are done. But these processes are still running and calibre is terminated instead.
I don't understand why sending SIGTERM to these processes somehow terminates calibre.
Last edited by xxyzz; 08-10-2021 at 10:41 PM.
|