Threading plus multiprocessing plus cv2 error

Stephane Tougard stephane at sdf.org
Sun Aug 30 17:37:45 EDT 2020


On 2020-08-30, Barry <barry at barrys-emacs.org> wrote:
>        *  The child process is created with a single thread—the one that
>           called fork().  The entire virtual address space of the parent is
>           replicated in the child, including the states of mutexes,
>           condition variables, and other pthreads objects; the use of
>           pthread_atfork(3) may be helpful for dealing with problems that

Indeed, I have a similar entry on my NetBSD:

     In case of a threaded program, only the thread calling fork() is
     still running in the child processes.

Very interesting.


More information about the Python-list mailing list