EVENT_BASE_PRIORITY_INIT(3) 1 EVENT_BASE_PRIORITY_INIT(3)
event_base_priority_init - Set the number of event priority levels
SYNOPSIS
bool event_base_priority_init (resource $event_base, int $npriorities)
DESCRIPTION
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(3) you can change the number
of event priority levels and then set a desired priority for each event.
PARAMETERS
o $event_base
- Valid event base resource.
o $npriorities
- The number of event priority levels.
RETURN VALUES
event_base_priority_init(3) returns TRUE on success or FALSE on error.
PHP Documentation Group EVENT_BASE_PRIORITY_INIT(3)