Reinitialize the event base after a fork


(PECL libevent >= 0.1.0)

event_base_reinitReinitialize the event base after a fork

Описание

bool event_base_reinit ( resource $event_base )

Some event mechanisms do not survive across fork. The event_base needs to be reinitialized with this function.

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

event_base

Valid event base resource that needs to be re-initialized.

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

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.