编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Event::set
  • Event::setTimer »
  • PHP Manual
  • Event
  • Set event priority

Event::setPriority

(PECL event >= 1.2.6-beta)

Event::setPriority — Set event priority

说明

public Event::setPriority ( int $priority ) : bool

Set event priority.

参数

priority

The event priority.

返回值

Returns TRUE on success. Otherwise FALSE.

相关文章
php 其它服务 eventphp ev returns the set of backends that are embeddable in other event loopsphp event set event priorityphp eventbufferevent set the read and write timeout for a buffer eventphp eventlistener set event listener s error callbackphp evwatcher feeds the given revents set into the event loopphp libevent 函数 add an event to the set of monitored eventsphp libevent 函数 set the number of event priority levelsphp libevent 函数 assign a priority to a buffered eventphp libevent 函数 set or reset callbacks for a buffered eventphp libevent 函数 set read and write timeouts for a buffered eventphp libevent 函数 remove an event from the set of monitored eventsphp libevent 函数 assign a priority to an eventphp mysqlnd qc 函数 set conditions for automatic cachingphp ncurses 函数 pushes mouse event to queuephp intlbreakiterator set the iterator position to the first boundary before an offsetphp swoole event write data to the socket.php swoole http client set the http request method.php swoole table set the data type and size of the columns.php syncevent waits for the event to be fired/set
关注编程学问公众号
编程学问网 湘ICP备20001732号