event_base_reinit

(PECL libevent >= 0.1.0)
Reinitialize 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.

Parameters:
event_base

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

Returns:

Returns TRUE on success or FALSE on failure.

doc_php
2016-02-24 16:05:08
Comments
Leave a Comment

Please login to continue.