Skip to main content

CFFI bindings for signalfd.

Project description

docs Documentation Status
Travis-CI Build Status Requirements Status
Coverage Status Coverage Status
package PyPI Package latest release PyPI Package monthly downloads PyPI Wheel Supported versions Supported imlementations

CFFI bindings for signalfd. Interface is mostly the same as

  • Free software: BSD license


pip install signalfd


import signalfd

fd = signalfd.signalfd(-1, [signal.SIGUSR1], signalfd.SFD_CLOEXEC)
    signalfd.sigprocmask(signalfd.SIG_BLOCK, [signal.SIGUSR1])

    while True:
        si = signalfd.read_siginfo(fd)


To run the all tests run:



0.4.0 (2015-08-25)

  • Corrected return value for sigprocmask.

0.3.0 (2015-08-24)

  • Corrected error handling in signalfd and sigprocmask wrappers.

0.2.0 (2015-08-24)

  • Changed read_siginfo so it raises IOError in case is used with a file object and .readinto() would return None (not enough data available).

0.1.0 (2015-08-23)

  • First release on PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for signalfd, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size signalfd-0.4.0.tar.gz (11.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page