PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
pecl
install eio
Provides interface to the libeio library
This extension provides interface to the libeio library written by Marc Lehmann
<libeio at schmorp dot de>(see http://software.schmorp.de/pkg/libeio.html).
Libeio is a an asynchronous I/O library. Features basically include
asynchronous versions of POSIX API(read, write, open, close, stat, unlink,
fdatasync, mknod, readdir etc.); sendfile (native on Solaris, Linux, HP-UX,
FreeBSD); readahead. libeio itself emulates the system calls, if they are not
available on specific(UNIX-like) platform.
Currently this extension supports GNU/Linux and BSD platforms only. But you can
try it on any UNIX OS.
Stars: | 22 |
Issue openned: | 1 |
Downloads: | 198681 |
- Fix: removed extra memory allocations
- PHP7: eio_custom now throws Exception in ZTS builds, because Zend API is inaccessible from a custom thread in ZTS PHP7 builds
(there is a lack of Zend API to access TSRM thread-local data from a user thread). Some extensions(particularly, pthreads)
invent their own(rather hacky) ways to overcome the problem. However, IMHO, this should be implemented within Zend API itself.
requires: