< Home - < Back

python-atfork


Information about the package, python-atfork, which is shipped with common Linux distributions. The python-atfork package is designed for, Provides an API to register callbacks when forking.


Package Name:

python-atfork

Summary:

Provides an API to register callbacks when forking

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.

Architecture:

noarch

Version:

0.1.2

Release:

1.el6

Size:

15 k

Repository:

epel

From Repository:

Licence:

ASL 2.0



Handy Yum Commands for python-atfork


Control the python-atfork package with the following handy commands outlined below.


Command

Description of Command

yum install python-atfork

This command will install python-atfork on the server.

yum remove python-atfork

This command will un-install python-atfork on the server. When you run this command, you will be asked if you are sure that you want to remove python-atfork, so you have to manually confirm that you want to do this.

yum -y remove python-atfork

This command will un-install python-atfork on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-atfork when using the -y flag.

yum update python-atfork

This command will update python-atfork to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-atfork, so you have to manually confirm that you want to do this.

yum -y update python-atfork

This command will update python-atfork to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-atfork when using the -y flag.

yum info python-atfork

This command will show you core information about the python-atfork package.

yum deplist python-atfork

This command will show you the dependencies for python-atfork. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-atfork

This command will check if there is an update waiting on python-atfork. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.