Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17908 программистов и 1567 роботов. Сейчас ищут 988 программистов ...
event_base_priority_init - Set the number of event priority levels
Вернуться к: Libevent Функции
event_base_priority_init
(PECL libevent >= 0.0.2)
event_base_priority_init — Set the number of event priority levels
Описание
bool event_base_priority_init
( resource
$event_base
, int $npriorities
)Sets the number of different event priority levels.
By default all events are scheduled with the same priority
(npriorities
/2).
Using event_base_priority_init() you can change the number
of event priority levels and then set a desired priority for each event.
Список параметров
-
event_base
-
Valid event base resource.
-
npriorities
-
The number of event priority levels.
Возвращаемые значения
event_base_priority_init() returns TRUE
on success or FALSE
on error.
Вернуться к: Libevent Функции