PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
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
Details
Downloads: | 1530761 |
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.