« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for submitTo (0.001 sec.)
Pool::submitTo — Submits a task to a specific worker for execution | PHP 8.3 11756
Pool::submitTo (PECL pthreads >= 2.0.0) Pool::submitTo — Submits a task to a specific worker for execution 説明 public function Pool::submitTo ( int $worker , Threaded $task ): int Submit a task to the specified worker in the pool. The work ... CurrentThreadID ()); } } $pool = new Pool ( 2 ); $pool -> submit (new Task ()); for ( $i = 0 ; $i < 5 ; ++ $i ) { $pool -> submitTo ( 0 , new Task ()); // stack all tasks onto the first worker } $pool -> submitTo ( 1 , new Task ()); // cannot stack the t ...
https://man.mtool.work/php/8.3/pool.submitTo.html
The Pool class | PHP 8.3 8854
The Pool class (PECL pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustable number of Workers. Pooling provides a higher level abstraction of the Worker functionality, including the management of references ... esize ( int $size ): void public function shutdown (): void public function submit ( Threaded $task ): int public function submitTo ( int $worker , Threaded $task ): int } プロパティ size maximum number of Workers this Pool can use class the class of the ... Pool::resize — Resize the Pool Pool::shutdown — Shutdown all workers Pool::submit — Submits an object for execution Pool::submitTo — Submits a task to a specific worker for execution 他のマニュアルの関連ページ Linux JM shutdown(2) Linux JM shutdown(8) L ...
https://man.mtool.work/php/8.3/class.pool.html
pthreads | PHP 8.3 7273
pthreads はじめに pthreads はオブジェクト指向の API で、PHP でマルチスレッド処理を行うのに必要なすべてのツールを提供します。 PHP アプリケーションで、Thread や Worker そして Threaded を作ったり読み書きしたり実行したりできるようになります。 警 ... Pool::resize — Resize the Pool Pool::shutdown — Shutdown all 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 pthr ...
https://man.mtool.work/php/8.3/book.pthreads.html
PREV 1 NEXT