Results of 1 - 4 of about 4 for isJoined (0.001 sec.)
- Thread::isJoined — 状態を検出する | PHP 8.3 12279
- Thread::isJoined (PECL pthreads >= 2.0.0) Thread::isJoined — 状態を検出する 説明 public function Thread::isJoined (): bool このスレッドが同期されているかどうかを調べます。 パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に
... $thread ){ if (! $thread -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); var_dump ( $my -> isJoined ()); $my -> synchronized (function( $thread ){ $thread -> done = true ; $thread -> notify (); }, $my ); ?> 上の例の出力は以 ...
-
https://man.mtool.work/php/8.3/thread.isjoined.html
- Thread クラス | PHP 8.3 9098
- Thread クラス (PECL pthreads >= 2.0.0) はじめに このオブジェクトの start メソッドが呼ばれると、run メソッドのコードが個別のスレッドで並列処理されます。 run メソッドの実行後は Thread はすぐに終了し、作成元のスレッドに適切な時期に join します
... entThread (): Thread public static function getCurrentThreadId (): int public function getThreadId (): int public function isJoined (): bool public function isStarted (): bool public function join (): bool public function start ( int $options = ? ): bool ... 別 Thread::getCurrentThread — Identification Thread::getCurrentThreadId — Identification Thread::getThreadId — 識別 Thread::isJoined — 状態を検出する Thread::isStarted — 状態を検出する Thread::join — 同期処理 Thread::start — 実行する 他のマニュアルの関連ペ ...
-
https://man.mtool.work/php/8.3/class.thread.html
- Worker クラス | PHP 8.3 8044
- Worker クラス (PECL pthreads >= 2.0.0) はじめに ワーカースレッドには永続コンテキストがあり、たいていの場合はスレッドに対して使えます。 ワーカーを開始させると run メソッドを実行しますが、以下のいずれかの条件を満たすまでスレッドは終了しません
... lic static function Thread::getCurrentThreadId (): int public function Thread::getThreadId (): int public function Thread::isJoined (): bool public function Thread::isStarted (): bool public function Thread::join (): bool public function Thread::start ( ...
-
https://man.mtool.work/php/8.3/class.worker.html
- pthreads | PHP 8.3 7507
- pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread や Worker そして Threaded を作ったり読み書きしたり実行したりできるようになります。 警
... 別 Thread::getCurrentThread — Identification Thread::getCurrentThreadId — Identification Thread::getThreadId — 識別 Thread::isJoined — 状態を検出する Thread::isStarted — 状態を検出する Thread::join — 同期処理 Thread::start — 実行する Worker — Worker クラス ...
-
https://man.mtool.work/php/8.3/book.pthreads.html
PREV
1
NEXT