EventBase::priorityInit

(PECL event >= 1.2.6-beta)

EventBase::priorityInitSets number of priorities per event base

说明

public EventBase::priorityInit( int $n_priorities ): bool

Sets number of priorities per event base.

参数

n_priorities

The number of priorities per event base.

返回值

成功时返回 true, 或者在失败时返回 false

参见