编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « EvSignal::createStopped
  • EvStat »
  • PHP Manual
  • EvSignal
  • Configures the watcher

EvSignal::set

(PECL ev >= 0.2.0)

EvSignal::set — Configures the watcher

说明

public EvSignal::set ( int $signum ) : void

Configures the watcher.

参数

signum

Signal number. The same as for EvSignal::__construct()

返回值

没有返回值。

相关文章
php ev the evsignal classphp evchild constructs the evchild watcher objectphp evchild create instance of a stopped evcheck watcherphp evchild configures the watcherphp evembed configures the watcherphp evio configures the watcherphp evloop creates evsignal watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evperiodic configures the watcherphp evsignal constructs evsignal watcher objectphp evsignal create stopped evsignal watcher objectphp evsignal configures the watcherphp evstat constructs evstat watcher objectphp evstat create a stopped evstat watcher objectphp evstat configures the watcherphp evtimer configures the watcherphp evwatcher configures whether to keep the loop from returningphp evwatcher sets new callback for the watcherphp evwatcher starts the watcherphp evwatcher stops the watcher
关注编程学问公众号
编程学问网 湘ICP备20001732号