Swoole\Process::alarm

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Process::alarmHigh precision timer which triggers signal with fixed interval.

说明

public static Swoole\Process::alarm ( integer $interval_usec ) : void

参数

interval_usec

返回值