On 02/08/2013 12:30pm, Victor Stinner wrote:
Is it possible to implement atfork on Windows?

On Windows the patch does expose atfork.getlock() and uses it in subprocess. (It should also modify os.spawn?(), os.startfile() etc.) But atfork.atfork() is Unix only.

A Python lock would be ignored by other C threads. It is unsafe if
Python is embedded.

True.

--
Richard

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to