[issue6923] Need pthread_atfork-like functionality in CPython

2013-08-21 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Add an 'atfork' module ___ Python tracker ___

[issue6923] Need pthread_atfork-like functionality in CPython

2012-11-23 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue6923] Need pthread_atfork-like functionality in CPython

2009-09-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: For reference, this is related to http://bugs.python.org/issue6721 but deals with the C API side of things for an atfork mechanism to be used by extension modules. -- nosy: +gregory.p.smith ___ Python tracker

[issue6923] Need pthread_atfork-like functionality in CPython

2009-09-16 Thread Thomas Wouters
New submission from Thomas Wouters : In order to properly handle multiple threads and fork()-calls from C code (rather than os.fork()), Python should provide pthread_atfork()-like functionality: a function to call before a fork, to acquire any locks that need to be acquired, and a pair of func