View Single Post
Old 08-10-2021, 10:25 PM   #3
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
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.
xxyzz is offline   Reply With Quote