« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for stacked (0.003 sec.)
Gets the remaining stack size 11095
« Worker::collect Worker::isShutdown » PHP Manual Worker Gets the remaining stack size 検索 Worker::getStacked (PECL pthreads >= 2.0.0) Worker::getStacked — Gets the remaining stack size 説明 public function Worker::getStacked (): int Retur ... ん。 戻り値 Returns the number of tasks currently waiting to be executed by the worker 例 例1 A basic example of Worker::getStacked <?php $worker = new Worker (); for ( $i = 0 ; $i < 5 ; ++ $i ) { $worker -> stack (new class extends Threaded {}); } echo ... "There are { $worker -> getStacked ()} stacked tasks\n" ; 上の例の出力は以下となります。 There are 5 stacked tasks 関連キーワード: Worker stack getStacked ta ... sks worker Gets remaining size Returns number パラメータ new There stacked collect Search isShutdown pthreads function int ...
https://man.mtool.work/php/8.3/worker.getstacked.html
Gets the remaining stack size 11095
« Worker::collect Worker::isShutdown » PHP Manual Worker Gets the remaining stack size 検索 Worker::getStacked (PECL pthreads >= 2.0.0) Worker::getStacked — Gets the remaining stack size 説明 public function Worker::getStacked (): int Retur ... ん。 戻り値 Returns the number of tasks currently waiting to be executed by the worker 例 例1 A basic example of Worker::getStacked <?php $worker = new Worker (); for ( $i = 0 ; $i < 5 ; ++ $i ) { $worker -> stack (new class extends Threaded {}); } echo ... "There are { $worker -> getStacked ()} stacked tasks\n" ; 上の例の出力は以下となります。 There are 5 stacked tasks 関連キーワード: Worker stack getStacked ta ... sks worker Gets remaining size number There stacked collect isShutdown pthreads left currently waiting executed example extends Threaded ...
https://man.mtool.work/php/8.3/worker.getstacked.html
Shutdown the worker 7397
« Worker::isShutdown Worker::stack » PHP Manual Worker Shutdown the worker 検索 Worker::shutdown (PECL pthreads >= 2.0.0) Worker::shutdown — Shutdown the worker 説明 public function Worker::shutdown (): bool Shuts down the worker after exec ... uting all of the stacked tasks. パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 ... Shutdown shutdown my stack bool tasks パラメータ 場合 true isShutdown Search pthreads function Shuts down after executing stacked ...
https://man.mtool.work/php/8.3/worker.shutdown.html
Shutdown the worker 7397
« Worker::isShutdown Worker::stack » PHP Manual Worker Shutdown the worker 検索 Worker::shutdown (PECL pthreads >= 2.0.0) Worker::shutdown — Shutdown the worker 説明 public function Worker::shutdown (): bool Shuts down the worker after exec ... uting all of the stacked tasks. パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 ... ます。 bool(true) 関連キーワード: Worker worker Shutdown shutdown stack tasks isShutdown pthreads Shuts down after executing stacked 成功 referenced start execute dump ...
https://man.mtool.work/php/8.3/worker.shutdown.html
PREV 1 NEXT