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
Use linux eventfd instead of pipe where eventfd is available.
Add a windows compatible implementation
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.1.tar.gz
(2.0 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 199726c8e15491ab2565c563dde4279ae29a4fb0821b35896d911d62009bb21c |
|
MD5 | 12b8e56129d22b32a48a55a9d7734a86 |
|
BLAKE2b-256 | dd047bdd40ca08f40c16471c124fba6e8943880f3cfb957e7427caffd5279a6d |