PHP - Manual: event_buffer_priority_set
2024-12-22
(PECL libevent >= 0.0.1)
event_buffer_priority_set — Assign a priority to a buffered event
$bevent
, int $priority
) : bool
Assign a priority to the bevent
.
bevent
Valid buffered event resource.
priority
Priority level. Cannot be less than zero and cannot exceed maximum priority level of the event base (see event_base_priority_init()).
event_buffer_priority_set() returns TRUE
on success or FALSE
on error.
官方地址:https://www.php.net/manual/en/function.event-buffer-priority-set.php