在线文档教程
PHP
处理控制 | Process Control

event_base_reinit

event_base_reinit

(PECL libevent >= 0.1.0)

event_base_reinit — Reinitialize the event base after a fork

Description

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.

Return Values

Returns TRUE on success or FALSE on failure.

← event_base_priority_init

event_base_set →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.event-base-reinit.php