event_base_reinit

(PECL libevent >= 0.1.0)

event_base_reinitReinitialize the event base after a fork

説明

event_base_reinit ( resource $event_base ) : bool

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 を返します。