Creates EvFork watcher object associated with the current event loop instance


(PECL ev >= 0.2.0)

EvLoop::forkCreates EvFork watcher object associated with the current event loop instance

Описание

final public EvFork EvLoop::fork ( callable $callback [, mixed $data = NULL [, int $priority = 0 ]] )

Creates EvFork watcher object associated with the current event loop instance

Список параметров

All parameters have the same meaning as for EvFork::__construct()

Возвращаемые значения

Returns EvFork object on success.

Смотрите также