Results of 1 - 10 of about 12 for getStacked (0.006 sec.)
- Gets the remaining stack size 12416
- « 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 ...
-
https://man.mtool.work/php/8.3/worker.getstacked.html
- Gets the remaining stack size 12416
- « 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 ...
-
https://man.mtool.work/php/8.3/worker.getstacked.html
- Worker クラス 8967
- « Thread::start Worker::collect » PHP Manual pthreads Worker クラス 検索 Worker クラス (PECL pthreads >= 2.0.0) はじめに ワーカースレッドには永続コンテキストがあり、たいていの場合はスレッドに対して使えます。 ワーカーを開始させると run メソッ
... rsable , Countable , ArrayAccess { /* メソッド */ public function collect ( Callable $collector = ? ): int public function getStacked (): int public function isShutdown (): bool public function shutdown (): bool public function stack ( Threaded &$work ): i ... c function Thread::start ( int $options = ? ): bool } 目次 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 ... ol クラス メソッド collect スレッド shutdown stack work start pthreads ワーカー コンテキスト run プログラマー オブジェクト getStacked ...
-
https://man.mtool.work/php/8.3/class.worker.html
- Worker クラス 8967
- « Thread::start Worker::collect » PHP Manual pthreads Worker クラス 検索 Worker クラス (PECL pthreads >= 2.0.0) はじめに ワーカースレッドには永続コンテキストがあり、たいていの場合はスレッドに対して使えます。 ワーカーを開始させると run メソッ
... rsable , Countable , ArrayAccess { /* メソッド */ public function collect ( Callable $collector = ? ): int public function getStacked (): int public function isShutdown (): bool public function shutdown (): bool public function stack ( Threaded &$work ): i ... c function Thread::start ( int $options = ? ): bool } 目次 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 ... work 関連キーワード: Worker Thread collect スレッド shutdown stack work start pthreads ワーカー コンテキスト プログラマー getStacked isShutdown unstack static 永続 開始 条件 スコープ スクリプト 再利用 スタック 概要 extends ...
-
https://man.mtool.work/php/8.3/class.worker.html
- State Detection 8896
- « Worker::getStacked Worker::shutdown » PHP Manual Worker State Detection 検索 Worker::isShutdown (PECL pthreads >= 2.0.0) Worker::isShutdown — State Detection 説明 public function Worker::isShutdown (): bool Whether the worker has been shu
... 上の例の出力は以下となります。 bool(false) bool(true) 関連キーワード: worker Worker isShutdown shutdown State Detection dump getStacked pthreads Whether whether Detect state start ...
-
https://man.mtool.work/php/8.3/worker.isshutdown.html
- State Detection 8826
- « Worker::getStacked Worker::shutdown » PHP Manual Worker State Detection 検索 Worker::isShutdown (PECL pthreads >= 2.0.0) Worker::isShutdown — State Detection 説明 public function Worker::isShutdown (): bool Whether the worker has been shu
... なります。 bool(false) bool(true) 関連キーワード: worker Worker isShutdown shutdown State Detection bool パラメータ var dump getStacked Search pthreads function Whether 戻り値 Returns whether Detect state ...
-
https://man.mtool.work/php/8.3/worker.isshutdown.html
- Collect references to completed tasks 8507
- « Worker Worker::getStacked » PHP Manual Worker Collect references to completed tasks 検索 Worker::collect (PECL pthreads >= 3.0.0) Worker::collect — Collect references to completed tasks 説明 public function Worker::collect ( Callable $col
... llect Worker collected stack There collector references Collect completed remaining echo Callable new currently now Search getStacked pthreads ...
-
https://man.mtool.work/php/8.3/worker.collect.html
- Collect references to completed tasks 8507
- « Worker Worker::getStacked » PHP Manual Worker Collect references to completed tasks 検索 Worker::collect (PECL pthreads >= 3.0.0) Worker::collect — Collect references to completed tasks 説明 public function Worker::collect ( Callable $col
... ード: tasks worker collect Worker collected stack There collector references Collect completed remaining Callable currently getStacked pthreads Allows determined garbage optionally given boolean whether task rare ...
-
https://man.mtool.work/php/8.3/worker.collect.html
- pthreads 7269
- « parallel\Sync::__invoke インストール/設定 » PHP Manual プロセス制御 pthreads 検索 pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread
... — 同期処理 Thread::start — 実行する Worker — Worker クラス 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 ...
-
https://man.mtool.work/php/8.3/book.pthreads.html
- pthreads 7269
- « parallel\Sync::__invoke インストール/設定 » PHP Manual プロセス制御 pthreads 検索 pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread
... — 同期処理 Thread::start — 実行する Worker — Worker クラス 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 ...
-
https://man.mtool.work/php/8.3/book.pthreads.html