The Python Oracle

Safe to call multiprocessing from a thread in Python?

This video explains
Safe to call multiprocessing from a thread in Python?

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Industries in Orbit Looping

--

Chapters
00:00 Question
01:49 Accepted answer (Score 22)
05:47 Thank you

--

Full question
https://stackoverflow.com/questions/4643...

Question links:
[https://github.com/joblib/joblib/issues/...]: https://github.com/joblib/joblib/issues/...
[Is there a safe way to create a subprocess from a thread in python?]: https://stackoverflow.com/questions/1463...
[documentation]: https://docs.python.org/2/library/thread...
[https://bugs.python.org/issue6721]: https://bugs.python.org/issue6721

Accepted answer links:
[fork(2)]: http://man7.org/linux/man-pages/man2/for...
[signal(7)]: http://man7.org/linux/man-pages/man7/sig...
[execve(2)]: http://man7.org/linux/man-pages/man2/exe...
[documentation]: https://docs.python.org/3/library/multip...
[now possible to change the start method]: https://docs.python.org/3/library/multip...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #pythonmultiprocessing

#avk47