development/languages

python-atfork - Provides an API to register callbacks when forking

Website: https://code.google.com/p/python-atfork
License: ASL 2.0
Vendor: Fedora Project
Description:
Atfork provides a pthread_atfork() work-a-like API for Python 2.4, 2.5 and 2.6
along with fixers to monkey patch standard library modules at run time to be
safe in programs using both threading and forking.

While mixing threads and forking in a program is generally considered to be a
bad idea it need not be so painful.

A missing API in the Python is an atfork mechanism so that locks can be
acquired and released properly around fork calls.  This module adds that.  It
also provides monkey patchers that fix the standard library to properly
register callbacks for locks they create.

Packages

python-atfork-0.1.2-1.el6.src [12 KiB] Changelog by James Laska (2011-05-26):
- Initial packaging

Listing created by Repoview-0.6.6-1.el6