Threading plus multiprocessing plus cv2 error

Stephane Tougard stephane at sdf.org
Sun Aug 30 01:12:31 EDT 2020


On 2020-08-29, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
> 	Under Linux, multiprocessing creates processes using fork(). That means
> that, for some fraction of time, you have TWO processes sharing the same
> thread and all that entails (if it doesn't overlay the forked process with
> a new executable, they are sharing the thread until the thread exits).
> same error condition even with the sleep(1) in place.

I'm not even that makes sense, how 2 processes can share a thread ?




More information about the Python-list mailing list