• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux atfork Download

atfork

August 25, 2009
This software offers an API for registering pre and post callbacks during the forking process and ensures the standard library is secure for both forks and threads.
Version 0.1.2
License Other
Platform Linux
Supported Languages English
Homepage perl-cfd.sourceforge.net
Developed by Gregory P. Smith
If you're looking for a solution to handle the mixing of threads and forking in Python programs, atfork is a great option. This Python library provides a pthread_atfork() work-a-like API for Python 2.4, 2.5, and 2.6.

One of the main issues with mixing threads and forking is the lack of an atfork mechanism in Python, making it difficult to properly acquire and release locks around fork calls. However, atfork solves this issue by providing the missing API. The library also includes monkeypatchers to patch the standard library modules at runtime, ensuring they are safe in programs that use both threading and forking.

Atfork is extensively tested on Python 2.4.3, 2.4.5, 2.4.6, 2.5.2, and 2.6.2, ensuring compatibility with a range of versions. Documentation is available in the atfork and stdlib_fixer module docstrings.

To use atfork, simply add the following lines to your program's imports as early as possible:

```python
import atfork
atfork.monkeypatch_os_fork_functions()
import atfork.stdlib_fixer
atfork.stdlib_fixer.fix_logging_module()
```

Overall, atfork is a valuable tool for anyone dealing with the challenges of mixing threads and forking in Python programs.
What's New

Version 0.1.2: N/A

Free Download 7.7K
326
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Umimon
Umimon is a monitoring software developed by Karamba that helps track system ...
Human-Plant-Black
GNOME Dark Theme: A desktop user interface software designed for GNOME, providing ...
Tomboy-LaTeX
Tomboy-LaTeX is a plugin for Tomboy that enables users to utilize LaTeX ...
DMines
DMines is an interactive interpretation of the traditional game, minesweeper. It is ...
Personalchef
Personalchef is a Python-based tool that scans webserver logs and generates a ...
Squid Report Generator
SRG is a CRCnet-centric Squid Report Generator. It caters to the specific ...
FunkyCache
FunkyCache is a cache-clearing software extension that efficiently removes stored data from ...
Relative-Scoring
Relative-Scoring software automatically scores tracks based on listener frequency, with a script ...
Nuclinux
Nuclinux is a compact Linux operating system that fits on a single ...
eds-feed
The Galago project now has the eds-feed extension that is intended to ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.