event

pecl install event

Provides interface to libevent library

This is an extension to efficiently schedule I/O, time and signal based
events using the best I/O notification mechanism available for specific platform.
This is a port of libevent to the PHP infrastructure.

Version 1.0.0 introduces:
* new OO API breaking backwards compatibility
* support of libevent 2+ including HTTP, DNS, OpenSSL and the event listener.

Note, event-1.0.0 and greater is not compatible with previous versions.

Maintainer

  • Ruslan Osmanov (lead )
  • Anatoliy Belsky (developer )
  • Remi Collet (contributor )

Details

Downloads: 1530761
0.9.1
19 years ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 0.9.1 change log

Added event_timeout() function for easily scheduling a callback after a certain
period of time. The timeout may be persistent to make the callback a recurrent
event.

Fixed an issue with timercmp() on windows that caused a busy wait when the
scheduler could have performed a sleep.

Windows scheduling engine now also processes the message queue while waiting;
useful for COM/GUI based scripts.

Fixed build for threaded systems with real signals.

Supports epoll(4), poll(2) and select(2) IO notification engines.
Support for /dev/poll and kqueue is pending.

On Windows, currently only sockets can participate in the IO notification engine.