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.
Source Distribution
eventfd-0.2.tar.gz
(12.2 kB
view details)
File details
Details for the file eventfd-0.2.tar.gz
.
File metadata
- Download URL: eventfd-0.2.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b8133ebaa02019b4dfd6babaa8832d7c7e0801f704c940d502fb6f7a387033 |
|
MD5 | 79bdad7597e3ec462b67b1799a14cbf8 |
|
BLAKE2b-256 | b4930e5817a6565e2eaf0cb25c6d2bdeeab7ad8436b8a6bced897b4c74efb19a |