On Thu, Jun 25, 2015 at 12:23 PM, Elizabeth Shashkova < elizabeth.shashk...@gmail.com> wrote:
> When I call fork() inside a daemon thread, the main thread in the child > process has the "daemon" property set to True. Didn't this (or a similar) topic come up here recently? For reference: http://bugs.python.org/issue24512 and https://docs.python.org/3.4/library/multiprocessing.html#contexts-and-start-methods from which I quote (emphasis mine): The parent process uses os.fork() to fork the Python interpreter. The child process, when it begins, is *effectively identical to the parent process*. All resources of the parent are inherited by the child process. *Note that safely forking a multithreaded process is problematic*. So, even if you get past this particular problem, the conventional wisdom is, "don't do that." Skip
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com