[Python-Dev] PEP 446: Open issues/questions

Antoine Pitrou solipsis at pitrou.net
Fri Aug 2 14:37:08 CEST 2013


Le Fri, 2 Aug 2013 13:30:56 +0200,
Victor Stinner <victor.stinner at gmail.com> a écrit :
> Is it possible to implement atfork on Windows?
> 
> A Python lock would be ignored by other C threads. It is unsafe if
> Python is embedded.

It is unsafe if Python is embedded *and* the embedding application uses
fork() + exec().

Regards

Antoine.




More information about the Python-Dev mailing list