« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for isShutdown (0.001 sec.)
Worker::isShutdown — State Detection | PHP 8.3 11849
Worker::isShutdown (PECL pthreads >= 2.0.0) Worker::isShutdown — State Detection 説明 public function Worker::isShutdown (): bool Whether the worker has been shutdown or not. パラメータ この関数にはパラメータはありません。 戻り値 Returns wh ... down or not. 例 例1 Detect the state of a worker <?php $worker = new Worker (); $worker -> start (); var_dump ( $worker -> isShutdown ()); $worker -> shutdown (); var_dump ( $worker -> isShutdown ()); 上の例の出力は以下となります。 bool(false) bool(true) 他 ...
https://man.mtool.work/php/8.3/worker.isshutdown.html
Worker クラス | PHP 8.3 8538
Worker クラス (PECL pthreads >= 2.0.0) はじめに ワーカースレッドには永続コンテキストがあり、たいていの場合はスレッドに対して使えます。 ワーカーを開始させると run メソッドを実行しますが、以下のいずれかの条件を満たすまでスレッドは終了しません ... /* メソッド */ public function collect ( Callable $collector = ? ): int public function getStacked (): int public function isShutdown (): bool public function shutdown (): bool public function stack ( Threaded &$work ): int public function unstack (): int ... } 目次 Worker::collect — Collect references to completed tasks Worker::getStacked — Gets the remaining stack size Worker::isShutdown — State Detection Worker::shutdown — Shutdown the worker Worker::stack — Stacking work Worker::unstack — Unstacking work 他 ...
https://man.mtool.work/php/8.3/class.worker.html
pthreads | PHP 8.3 7496
pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread や Worker そして Threaded を作ったり読み書きしたり実行したりできるようになります。 警 ... クラス Worker::collect — Collect references to completed tasks Worker::getStacked — Gets the remaining stack size Worker::isShutdown — State Detection Worker::shutdown — Shutdown the worker Worker::stack — Stacking work Worker::unstack — Unstacking work C ...
https://man.mtool.work/php/8.3/book.pthreads.html
PREV 1 NEXT