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.

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.2.tar.gz (12.2 kB view hashes)

Uploaded Source

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