Results of 1 - 3 of about 3 for unstack (0.001 sec.)
- Worker::unstack — Unstacking work | PHP 8.3 11849
- Worker::unstack (PECL pthreads >= 2.0.0) Worker::unstack — Unstacking work 説明 public function Worker::unstack (): int Removes the first task (the oldest one) in the stack. パラメータ この関数にはパラメータはありません。 戻り値 The new siz
... e of the stack. 変更履歴 バージョン 説明 PECL pthreads 3.0.0 The parameter to specify the task to unstack has been removed. Now, only the first task in the stack is removed. 例 例1 Removing objects from the stack of Workers <?ph ... p $my = new Worker (); $work = new class extends Threaded {}; var_dump ( $my -> stack ( $work )); var_dump ( $my -> unstack ()); 上の例の出力は以下となります。 int(1) int(0) 他のマニュアルの関連ページ Linux JM pthreads(7) Docker docker stack Dock ...
-
https://man.mtool.work/php/8.3/worker.unstack.html
- Worker クラス | PHP 8.3 8575
- Worker クラス (PECL pthreads >= 2.0.0) はじめに ワーカースレッドには永続コンテキストがあり、たいていの場合はスレッドに対して使えます。 ワーカーを開始させると run メソッドを実行しますが、以下のいずれかの条件を満たすまでスレッドは終了しません
... ction isShutdown (): bool public function shutdown (): bool public function stack ( Threaded &$work ): int public function unstack (): int /* 継承したメソッド */ public function Thread::getCreatorId (): int public static function Thread::getCurrentThrea ... ack size Worker::isShutdown — State Detection Worker::shutdown — Shutdown the worker Worker::stack — Stacking work Worker::unstack — Unstacking work 他のマニュアルの関連ページ Python library Linux JM pthreads(7) Linux JM shutdown(2) Linux JM shutdown(8) ...
-
https://man.mtool.work/php/8.3/class.worker.html
- pthreads | PHP 8.3 7459
- pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread や Worker そして Threaded を作ったり読み書きしたり実行したりできるようになります。 警
... ack size Worker::isShutdown — State Detection Worker::shutdown — Shutdown the worker Worker::stack — Stacking work Worker::unstack — Unstacking work Collectable — The Collectable interface Collectable::isGarbage — Determine whether an object has been ma ...
-
https://man.mtool.work/php/8.3/book.pthreads.html
PREV
1
NEXT