略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: event_base_reinit

2024-12-21

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.event-base-reinit.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3