Results of 1 - 10 of about 152 for signal (0.002 sec.)
- 指定されたシグナルの現在のハンドラを取得する 9049
- « pcntl_signal_dispatch pcntl_sigprocmask » PHP Manual PCNTL 関数 指定されたシグナルの現在のハンドラを取得する 検索 pcntl_signal_get_handler (PHP 7 >= 7.1.0, PHP 8) pcntl_signal_get_handler — 指定されたシグナルの現在のハンドラを取得する 説明
... function pcntl_signal_get_handler ( int $signal ): callable | int pcntl_signal_get_handler() 関数は、 指定された signal の現在のハンドラを取得し ... ます。 パラメータ signal シグナル番号 戻り値 この関数は、 SIG_DFL または SIG_IGN が参照する数値を返す可能性があります。 カスタムハンドラを設定してい ... る場合は、 callable を返します。 変更履歴 バージョン 説明 7.1.0 pcntl_signal_get_handler() 関数が追加されました。 例 例1 pcntl_signal_get_handler() の例 <?php var_dump ( pcntl_signal_get_handler ( SI ...
-
https://man.mtool.work/php/8.3/function.pcntl-signal-get-handler.html
- 指定されたシグナルの現在のハンドラを取得する 9049
- « pcntl_signal_dispatch pcntl_sigprocmask » PHP Manual PCNTL 関数 指定されたシグナルの現在のハンドラを取得する 検索 pcntl_signal_get_handler (PHP 7 >= 7.1.0, PHP 8) pcntl_signal_get_handler — 指定されたシグナルの現在のハンドラを取得する 説明
... function pcntl_signal_get_handler ( int $signal ): callable | int pcntl_signal_get_handler() 関数は、 指定された signal の現在のハンドラを取得し ... ます。 パラメータ signal シグナル番号 戻り値 この関数は、 SIG_DFL または SIG_IGN が参照する数値を返す可能性があります。 カスタムハンドラを設定してい ... る場合は、 callable を返します。 変更履歴 バージョン 説明 7.1.0 pcntl_signal_get_handler() 関数が追加されました。 例 例1 pcntl_signal_get_handler() の例 <?php var_dump ( pcntl_signal_get_handler ( SI ...
-
https://man.mtool.work/php/8.3/function.pcntl-signal-get-handler.html
- ペンディングシグナル用のハンドラをコールする 8956
- « pcntl_signal pcntl_signal_get_handler » PHP Manual PCNTL 関数 ペンディングシグナル用のハンドラをコールする 検索 pcntl_signal_dispatch (PHP 5 >= 5.3.0, PHP 7, PHP 8) pcntl_signal_dispatch — ペンディングシグナル用のハンドラをコールする 説明
... function pcntl_signal_dispatch (): bool pcntl_signal_dispatch() 関数は、 pcntl_signal() がインストールしたシグナルハンドラを 各ペンディングシグナ ... ラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 pcntl_signal_dispatch() の例 <?php echo "Installing signal handler...\n" ; pcntl_signal ( SIGHUP , function( $signo ) { echo "signal ha ... ndler called\n" ; }); echo "Generating signal SIGHUP to self...\n" ; posix_kill ( posix_getpid (), SIGHUP ); echo "Dispatching...\n" ; pcntl_signal_dispatch (); echo "D ...
-
https://man.mtool.work/php/8.3/function.pcntl-signal-dispatch.html
- ペンディングシグナル用のハンドラをコールする 8956
- « pcntl_signal pcntl_signal_get_handler » PHP Manual PCNTL 関数 ペンディングシグナル用のハンドラをコールする 検索 pcntl_signal_dispatch (PHP 5 >= 5.3.0, PHP 7, PHP 8) pcntl_signal_dispatch — ペンディングシグナル用のハンドラをコールする 説明
... function pcntl_signal_dispatch (): bool pcntl_signal_dispatch() 関数は、 pcntl_signal() がインストールしたシグナルハンドラを 各ペンディングシグナ ... ラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 pcntl_signal_dispatch() の例 <?php echo "Installing signal handler...\n" ; pcntl_signal ( SIGHUP , function( $signo ) { echo "signal ha ... ndler called\n" ; }); echo "Generating signal SIGHUP to self...\n" ; posix_kill ( posix_getpid (), SIGHUP ); echo "Dispatching...\n" ; pcntl_signal_dispatch (); echo "D ...
-
https://man.mtool.work/php/8.3/function.pcntl-signal-dispatch.html
- Constructing signal events 8933
- « Event callbacks Event » PHP Manual Event Constructing signal events 検索 Constructing signal events Event can also watch for POSIX-style signals. To construct a handler for a signal, use Event::__construct() constructor with Event::SIGNAL
... flag, or Event::signal() factory method. 例1 Handling SIGTERM signal <?php /* Launch it in a terminal window: $ php examples/signal.php In anothe ... ut the pid and send SIGTERM, e.g.: $ ps aux | grep examp ruslan 3976 0.2 0.0 139896 11256 pts/1 S+ 10:25 0:00 php examples/signal.php ruslan 3978 0.0 0.0 9572 864 pts/2 S+ 10:26 0:00 grep --color=auto examp $ kill -TERM 3976 At the first terminal windo ... w you should catch the following: Caught signal 15 */ class MyEventSignal { private $base , $ev ; public function __construct ( $base ) { $this -> base = $base ; $this -> ...
-
https://man.mtool.work/php/8.3/event.constructing.signal.events.html
- Constructing signal events 8898
- « Event callbacks Event » PHP Manual Event Constructing signal events 検索 Constructing signal events Event can also watch for POSIX-style signals. To construct a handler for a signal, use Event::__construct() constructor with Event::SIGNAL
... flag, or Event::signal() factory method. 例1 Handling SIGTERM signal <?php /* Launch it in a terminal window: $ php examples/signal.php In anothe ... ut the pid and send SIGTERM, e.g.: $ ps aux | grep examp ruslan 3976 0.2 0.0 139896 11256 pts/1 S+ 10:25 0:00 php examples/signal.php ruslan 3978 0.0 0.0 9572 864 pts/2 S+ 10:26 0:00 grep --color=auto examp $ kill -TERM 3976 At the first terminal windo ... w you should catch the following: Caught signal 15 */ class MyEventSignal { private $base , $ev ; public function __construct ( $base ) { $this -> base = $base ; $this -> ...
-
https://man.mtool.work/php/8.3/event.constructing.signal.events.html
- Constructs signal event object 8840
- « Event::setTimer Event::timer » PHP Manual Event Constructs signal event object 検索 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 is a straightforward method to create a signal event. Note, the generic Event::__construct() method can ... contruct signal event objects too. パラメータ base The associated event base object. signum The signal number. cb The signal event callbac ... be passed to the callback when event triggers. 戻り値 Returns Event object on success. Otherwise false . 参考 Constructing signal events 関連キーワード: signal event Event object Constructs base signum cb arg method callback setTimer Search timer beta ...
-
https://man.mtool.work/php/8.3/event.signal.html
- Constructs signal event object 8816
- « Event::setTimer Event::timer » PHP Manual Event Constructs signal event object 検索 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 is a straightforward method to create a signal event. Note, the generic Event::__construct() method can ... contruct signal event objects too. パラメータ base The associated event base object. signum The signal number. cb The signal event callbac ... be passed to the callback when event triggers. 戻り値 Returns Event object on success. Otherwise false . 参考 Constructing signal events 関連キーワード: signal event Event Constructs base signum method callback setTimer timer beta static EventBase call ...
-
https://man.mtool.work/php/8.3/event.signal.html
- Send signal to the child processes. 8630
- « Swoole\Process::read Swoole\Process::start » PHP Manual Swoole\Process Send signal to the child processes. 検索 Swoole\Process::signal (PECL swoole >= 1.9.0) Swoole\Process::signal — Send signal to the child processes. 説明 public static
... function Swoole\Process::signal ( string $signal_no , callable $callback ): void パラメータ signal_no callback 戻り値 If signal sent successfully, it retu ... rns TRUE, otherwise it returns FALSE. 関連キーワード: signal Swoole Process Send child processes callback read start swoole static callable sent successfully otherwise ...
-
https://man.mtool.work/php/8.3/swoole-process.signal.html
- Send signal to the child processes. 8607
- « Swoole\Process::read Swoole\Process::start » PHP Manual Swoole\Process Send signal to the child processes. 検索 Swoole\Process::signal (PECL swoole >= 1.9.0) Swoole\Process::signal — Send signal to the child processes. 説明 public static
... function Swoole\Process::signal ( string $signal_no , callable $callback ): void パラメータ signal_no callback 戻り値 If signal sent successfully, it retu ... rns TRUE, otherwise it returns FALSE. 関連キーワード: signal Swoole Process Send child processes callback returns read Search start swoole static function string callable void パラメー ...
-
https://man.mtool.work/php/8.3/swoole-process.signal.html