eio

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.

Maintainer

  • Ruslan Osmanov (lead )

Details

Stars: 22
Issue openned: 1
Downloads: 198681
2.0.0RC2
8 years ago
Version 2.0.0RC2 change log


- 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:

  • php >=5.3.0
  • pearinstaller >=1.4.0b1
  • unix