« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for signum (0.001 sec.)
The EvSignal class | PHP 8.3 12682
The EvSignal class (PECL ev >= 0.2.0) はじめに EvSignal watchers will trigger an event when the process receives a specific signal one or more times. Even though signals are very asynchronous, libev will try its best to deliver signals sync ... heck watcher and unblocked in a EvPrepare watcher. クラス概要 class EvSignal extends EvWatcher { /* プロパティ */ public $ signum ; /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ p ... ublic function __construct ( int $signum , callable $callback , mixed $data = null , int $priority = 0 ) final public static function createStopped ( int $signum , ... callable $callback , mixed $data = null , int $priority = 0 ): EvSignal public function set ( int $signum ): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): ...
https://man.mtool.work/php/8.3/class.evsignal.html
EvSignal::set — Configures the watcher | PHP 8.3 10506
EvSignal::set (PECL ev >= 0.2.0) EvSignal::set — Configures the watcher 説明 public function EvSignal::set ( int $signum ): void Configures the watcher. パラメータ signum Signal number. The same as for EvSignal::__construct() 戻り値 値を返し ...
https://man.mtool.work/php/8.3/evsignal.set.html
EvSignal::createStopped — Create stopped EvSignal watcher object | PHP 8.3 9639
EvSignal::createStopped (PECL ev >= 0.2.0) EvSignal::createStopped — Create stopped EvSignal watcher object 説明 final public static function EvSignal::createStopped ( int $signum , callable $callback , mixed $data = null , int $priority = ... EvSignal watcher object. Unlike EvSignal::__construct() , this method doesn't start the watcher automatically. パラメータ signum Signal number. See constants exported by pcntl extension. See also signal(7) man page. callback See Watcher callbacks . da ...
https://man.mtool.work/php/8.3/evsignal.createstopped.html
Event::signal — Constructs signal event object | PHP 8.3 9480
Event::signal (PECL event >= 1.2.6-beta) Event::signal — Constructs signal event object 説明 public static function Event::signal ( EventBase $base , int $signum , callable $cb , mixed $arg = ? ): Event Constructs signal event object. This ... neric Event::__construct() method can contruct signal event objects too. パラメータ base The associated event base object. signum The signal number. cb The signal event callback. See Event callbacks . arg Custom data. If specified, it will be passed to ...
https://man.mtool.work/php/8.3/event.signal.html
EvSignal::__construct — Constructs EvSignal watcher object | PHP 8.3 9480
EvSignal::__construct (PECL ev >= 0.2.0) EvSignal::__construct — Constructs EvSignal watcher object 説明 public function EvSignal::__construct ( int $signum , callable $callback , mixed $data = null , int $priority = 0 ) Constructs EvSignal ... ject and starts it automatically. For a stopped signal watcher consider using EvSignal::createStopped() method. パラメータ signum Signal number. See constants exported by pcntl extension. See also signal(7) man page. callback See Watcher callbacks . da ...
https://man.mtool.work/php/8.3/evsignal.construct.html
Ev::feedSignalEvent — シグナルイベントの情報をデフォルトループに送る | PHP 8.3 9197
Ev::feedSignalEvent (No version information available, might only be in Git) Ev::feedSignalEvent — シグナルイベントの情報をデフォルトループに送る 説明 final public static function Ev::feedSignalEvent ( int $signum ): void シグナルイベントを ... デフォルトループに送ります。 Ev は、 signal で指定したシグナルを受け取ったかのように反応します。 パラメータ signum シグナル番号。詳細は signal(7) の man ページを参照ください。 pcntl 拡張モジュールが公開する定数も使えます。 戻り値 値を返し ...
https://man.mtool.work/php/8.3/ev.feedsignalevent.html
Event callbacks | PHP 8.3 9197
Event callbacks If a callback is registered for an event, it will be called when the event becomes active. To associate a callback with event one can pass a callable to either Event::__construct() , or Event::set() , or one of the factory m ... void arg User custom data. Event::signal() expects the callback to match the following prototype: function callback ( int $signum = ? , mixed $arg = null ): void signum The number of the triggered signal(e.g. SIGTERM ). arg User custom data. 他のマニュ ...
https://man.mtool.work/php/8.3/event.callbacks.html
Ev::feedSignal — シグナルイベントを Ev に送る | PHP 8.3 8755
Ev::feedSignal (PECL ev >= 0.2.0) Ev::feedSignal — シグナルイベントを Ev に送る 説明 final public static function Ev::feedSignal ( int $signum ): void シグナルの受信をシミュレートします。 この関数は、いつでもどんなコンテキストでも安全に呼べ ... を行う場合に使います。 Ev::feedSignalEvent() とは違い、どのループがシグナルを登録したのかにかかわらず動作します。 パラメータ signum シグナル番号。詳細は signal(7) の man ページを参照ください。 pcntl 拡張モジュールが公開する定数も使えます。 戻り値 値を返し ...
https://man.mtool.work/php/8.3/ev.feedsignal.html
EvLoop::signal — Creates EvSignal watcher object associated with the current ev... 7605
EvLoop::signal (PECL ev >= 0.2.0) EvLoop::signal — Creates EvSignal watcher object associated with the current event loop instance 説明 final public function EvLoop::signal ( int $signum , callable $callback , mixed $data = null , int $prio ...
https://man.mtool.work/php/8.3/evloop.signal.html
Ev クラス | PHP 8.3 6579
Ev クラス (PECL ev >= 0.2.0) はじめに Ev は静的クラスで、デフォルトのループへのアクセスや各種共通操作へのアクセスを提供します。 クラス概要 final class Ev { /* 定数 */ const int FLAG_AUTO = 0 ; const int FLAG_NOENV = 16777216 ; const int FLA ... ction depth (): int final public static function embeddableBackends (): int final public static function feedSignal ( int $signum ): void final public static function feedSignalEvent ( int $signum ): void final public static function iteration (): int ...
https://man.mtool.work/php/8.3/class.ev.html
PREV 1 2 NEXT