PHP
处理控制 | Process Control

event_base_free

event_base_free

(PECL libevent >= 0.0.1)

event_base_free — Destroy event base

Description

void event_base_free ( resource $event_base )

Destroys the specified event_base and frees all the resources associated. Note that it's not possible to destroy an event base with events attached to it.

Parameters

event_base

Valid event base resource.

← event_add

event_base_loop →

© 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-free.php