The EvFork class
(PECL ev >= 0.2.0)
Введение
Fork watchers are called when a fork() was detected (usually because whoever signalled libev about it by calling EvLoop::fork() ). The invocation is done before the event loop blocks next and before EvCheck watchers are being called, and only in the child after the fork. Note, that if whoever calling EvLoop::fork() calls it in the wrong process, the fork handlers will be invoked, too.
Обзор классов
EvFork
extends
EvWatcher
{
/* Наследуемые свойства */
public
$is_active
;
public
$data
;
public
$is_pending
;
public
$priority
;
/* Методы */
final
public
static
object
createStopped
(
string
$callback
[,
string
$data
[,
string
$priority
]] )/* Наследуемые методы */
}Содержание
- EvFork::__construct — Constructs the EvFork watcher object
- EvFork::createStopped — Creates a stopped instance of EvFork watcher class
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для управления процессами программ
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- Watchers
- Watcher callbacks
- Periodic watcher operation modes
- The Ev class
- The EvCheck class
- The EvChild class
- The EvEmbed class
- The EvFork class
- The EvIdle class
- The EvIo class
- The EvLoop class
- The EvPeriodic class
- The EvPrepare class
- The EvSignal class
- The EvStat class
- The EvTimer class
- The EvWatcher class
Коментарии
404 Not Found