- PHP 手册
- 函数参考
- 进程控制扩展
- Libevent
- Libevent 函数
event_base_set
(PECL libevent >= 0.0.1)
event_base_set — Associate event base with an event
说明
event_base_set ( resource$event
, resource $event_base
) : bool
Associates the event_base
with the
event
.
参数
-
event
-
Valid event resource.
-
event_base
-
Valid event base resource.
返回值
event_base_set() returns TRUE
on success or FALSE
on error.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.event-base-set.php