« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for Volatile (0.001 sec.)
The Volatile class | PHP 8.3 11924
The Volatile class (PECL pthreads >= 3.0.0) はじめに The Volatile class is new to pthreads v3. Its introduction is a consequence of the new immutability semantics of Threaded members of Threaded classes. The Volatile class enables for mutab ... ility of its Threaded members, and is also used to store PHP arrays in Threaded contexts. クラス概要 class Volatile extends Threaded implements Collectable , Traversable { /* 継承したメソッド */ public function Threaded::chunk ( int $size ... す。 RuntimeException: Threaded members previously set to Threaded objects are immutable, cannot overwrite data in %s:%d 例2 Volatile use-case <?php class Task extends Volatile { public function __construct () { $this -> data = new Threaded (); // attempt ... to overwrite a Threaded property of a Volatile class (valid) $this -> data = new stdClass (); } } var_dump ((new Task ())-> data ); 上の例の出力は、 たとえば以下のように ...
https://man.mtool.work/php/8.3/class.volatile.html
プロセス制御 | PHP 8.3 8110
プロセス制御 Eio インストール/設定 定義済み定数 例 Eio 関数 Ev インストール/設定 例 ウォッチャー ウォッチャーのコールバック Periodic ウォッチャーの操作モード Ev — Ev クラス EvCheck — EvCheck クラス EvChild — EvChild クラス EvEmbed — EvEmbed ... Threaded class Thread — Thread クラス Worker — Worker クラス Collectable — The Collectable interface Pool — The Pool class Volatile — The Volatile class セマフォ — セマフォ、共有メモリおよび IPC インストール/設定 定義済み定数 セマフォ関数 SysvMessageQueu ...
https://man.mtool.work/php/8.3/refs.fileprocess.process.html
pthreads | PHP 8.3 7850
pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread や Worker そして Threaded を作ったり読み書きしたり実行したりできるようになります。 警 ... 、Pool ベースのオブジェクトは通常の PHP オブジェクトです。 よって、そのインスタンスをコンテキスト間で共有してはいけません。 Volatile は pthreads v3 で登場した新しいクラスです。 これは Threaded クラスのプロパティを変更可能にするために使います (なぜなら、こ ... workers Pool::submit — Submits an object for execution Pool::submitTo — Submits a task to a specific worker for execution Volatile — The Volatile class 他のマニュアルの関連ページ Linux JM pthreads(7) Linux JM wait(2) Linux JM shutdown(2) Linux JM shutdo ...
https://man.mtool.work/php/8.3/book.pthreads.html
PREV 1 NEXT