|
|
|
|
|
by yupyupyups
242 days ago
|
|
No, because you can't kill a Python thread, but you can kill a process. That is a significant limitation to think about, especially when executing something long-running and CPU intensive such as large scientific computations. If your thread gets stuck, the only recourse you will have is to kill the entire parent process. |
|
Also, sharing memory between processes is very very very slow compared to sharing memory between threads.