Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dex4er/pyev
Mirror of https://code.google.com/p/pyev/
https://github.com/dex4er/pyev
Last synced: 10 days ago
JSON representation
Mirror of https://code.google.com/p/pyev/
- Host: GitHub
- URL: https://github.com/dex4er/pyev
- Owner: dex4er
- Created: 2014-12-17T16:54:54.000Z (about 10 years ago)
- Default Branch: trunk
- Last Pushed: 2014-12-17T17:08:33.000Z (about 10 years ago)
- Last Synced: 2024-10-28T09:01:36.202Z (about 2 months ago)
- Language: C
- Size: 1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: CHANGES.txt
Awesome Lists containing this project
README
Python libev interface.
libev is an event loop: you register interest in certain events (such as a file
descriptor being readable or a timeout occurring), and it will manage these
event sources and provide your program with events.
To do this, it must take more or less complete control over your process (or
thread) by executing the event loop handler, and will then communicate events
via a callback mechanism.
You register interest in certain events by registering so-called event watchers,
which you initialise with the details of the event, and then hand over to libev
by starting the watcher.libev supports ``select``, ``poll``, the Linux-specific ``epoll``, the
BSD-specific ``kqueue`` and the Solaris-specific ``event port`` mechanisms for
file descriptor events (:py:class:`Io`), Linux ``eventfd``/``signalfd`` (for
faster and cleaner inter-thread wakeup (:py:class:`Async`)/signal handling
(:py:class:`Signal`)), relative timers (:py:class:`Timer`), absolute timers
(:py:class:`Periodic`), timers with customised rescheduling
(:py:class:`Scheduler`), synchronous signals (:class:`Signal`), process status
change events (:py:class:`Child`), and event watchers dealing with the event
loop mechanism itself (:py:class:`Idle`, :py:class:`Embed`, :py:class:`Prepare`
and :py:class:`Check` watchers) and even limited support
for fork events (:py:class:`Fork`).It also is quite `fast `_.
libev is written and maintained by Marc Lehmann.
.. seealso::
`libev's homepage `_.Useful links:
- `Latest release `_
- `Documentation `_
- `Bug reports and feature requests `_
- `pyev's source code `_ is currently hosted by
`Google code `_ and kept in a
`Subversion `_ repository:- `Subversion instructions `_
- `Subversion browser `_