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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size eventfd-0.2.tar.gz (12.2 kB) | File type Source | Python version None | Upload date | Hashes View |