eio_busy
PHP function
Edit on GitHub ✎
(PECL eio >= 0.0.1dev)
Artificially increase load. Could be useful in tests, benchmarking
Description
eio_busy(int $delay, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, mixed $data = NULL): resource
eio_busy() artificially increases load taking delay seconds to execute. May be used for debugging, or benchmarking.
Parameters
delayDelay in seconds
priValues
callbackThis callback is called when all the group requests are done.
dataArbitrary variable passed to
callback.
Return Values
eio_busy() returns request resource on success,Falseforfailure.