Skip to main content

threading.Event like class that has a file descriptor and can be used in select/poll

Project description

eventfd offer the EventFD class in python. The class implement all the functions as the threading.Event class. In addition to that the EventFD has the fileno method and thus can be used to in select/poll.

Online documentation can be found at http://eventfd.readthedocs.org/.

Please see the example in server.py for a use case of this class.

Planed feature’s

  1. Use linux eventfd instead of pipe where eventfd is available.

  2. Add a windows compatible implementation

Project details


Download files

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

Source Distribution

eventfd-0.1.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file eventfd-0.1.tar.gz.

File metadata

  • Download URL: eventfd-0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eventfd-0.1.tar.gz
Algorithm Hash digest
SHA256 199726c8e15491ab2565c563dde4279ae29a4fb0821b35896d911d62009bb21c
MD5 12b8e56129d22b32a48a55a9d7734a86
BLAKE2b-256 dd047bdd40ca08f40c16471c124fba6e8943880f3cfb957e7427caffd5279a6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page