検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 24 for Pool (0.002 sec.)
Collect references to completed tasks 10858
« Pool Pool::__construct » PHP Manual Pool Collect references to completed tasks Pool::collect ( ... PECL pthreads >= 2.0.0) Pool::collect — Collect references to completed tasks 説 ... 明 public Pool::collect ( Callable $collector = ? ): int Allows t ... he pool to collect references determined to be garbage by ... used. 戻り値 The number of remaining tasks in the pool to be collected. 変更履歴 バージョン 説明 v3 An in ...
https://man.plustar.jp/php/pool.collect.html - [similar]
Resize the Pool 10775
« Pool::__construct Pool::shutdown » PHP Manual Pool Resize the Pool Pool::resize (PECL pthreads ... >= 2.0.0) Pool::resize — Resize the Pool 説明 public Pool::resize ... ( int $size ): void Resize the Pool パラメータ size The maximum number of Workers this ... Pool can create 戻り値 値を返しません。 関連キーワード: ... Pool , Resize , the , resize , size , construct , shutd ...
https://man.plustar.jp/php/pool.resize.html - [similar]
The Pool class 10758
« Collectable::isGarbage Pool::collect » PHP Manual pthreads The Pool class The Pool class (PECL ... pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustab ... le number of Workers. Pooling provides a higher level abstraction of the Work ... in the way required by pthreads. クラス概要 class Pool { /* プロパティ */ protected $ size ; protected $ ... t } プロパティ size maximum number of Workers this Pool can use class the class of the Worker workers refe ...
https://man.plustar.jp/php/class.pool.html - [similar]
Shutdown all workers 10758
« Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers Pool::shutdown (PECL pthreads ... >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public Pool: ... down (): void Shuts down all of the workers in the pool. This will block until all submitted tasks have be ... ん。 戻り値 値を返しません。 例 例1 Shutting down a pool <?php class Task extends Threaded { public functio ... n run () { usleep ( 500000 ); } } $pool = new Pool ( 4 ); for ( $i = 0 ; $i < 10 ; ++ $i ) ...
https://man.plustar.jp/php/pool.shutdown.html - [similar]
Creates a new Pool of Workers 10692
« Pool::collect Pool::resize » PHP Manual Pool Creates a new Pool of Workers Pool::__construct ( ... PECL pthreads >= 2.0.0) Pool::__construct — Creates a new Pool of Workers 説明 ... public Pool::__construct ( int $size , string $class = ? , arr ... ay $ctor = ? ) Construct a new pool of workers. Pools lazily create their threads, whi ... ラメータ size The maximum number of workers for this pool to create class The class for new Workers. If no c ...
https://man.plustar.jp/php/pool.construct.html - [similar]
Submits a task to a specific worker for execution 10625
« Pool::submit Volatile » PHP Manual Pool Submits a task to a specific worker for execution Pool ... ::submitTo (PECL pthreads >= 2.0.0) Pool::submitTo — Submits a task to a specific worker fo ... r execution 説明 public Pool::submitTo ( int $worker , Threaded $task ): int Su ... bmit a task to the specified worker in the pool. The workers are indexed from 0, and will only exi ... st if the pool has needed to create them (since threads are lazil ...
https://man.plustar.jp/php/pool.submitTo.html - [similar]
Submits an object for execution 10425
« Pool::shutdown Pool::submitTo » PHP Manual Pool Submits an object for execution Pool::submit ( ... PECL pthreads >= 2.0.0) Pool::submit — Submits an object for execution 説明 pub ... lic Pool::submit ( Threaded $task ): int Submit the task to ... the next Worker in the Pool パラメータ task The task for execution 戻り値 the ... hing ; } public function run () { /** ... **/ } } $pool = new Pool ( 8 , \ MyWorker ::class, [new Somethin ...
https://man.plustar.jp/php/pool.submit.html - [similar]
pthreads 10291
« parallel\Sync::__invoke はじめに » PHP Manual プロセス制御 pthreads pthreads はじめに インスト ... rmine whether an object has been marked as garbage Pool — The Pool class Pool::collect — Collect reference ... s to completed tasks Pool::__construct — Creates a new Pool of Workers 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 fo ...
https://man.plustar.jp/php/book.pthreads.html - [similar]
Determine whether an object has been marked as garbage 8473
« Collectable Pool » PHP Manual Collectable Determine whether an object has been marked as garba ... c Collectable::isGarbage (): bool Can be called in Pool::collect() to determine if this object is garbage. ... タはありません。 戻り値 常に true を返します。 参考 Pool::collect() - Collect references to completed tasks ... 関連キーワード: Collectable , garbage , isGarbage , Pool , パラメータ , Determine , whether , been , marked ...
https://man.plustar.jp/php/collectable.isgarbage.html - [similar]
Memcached のインスタンスを作成する 7422
« Memcached::casByKey Memcached::decrement » PHP Manual Memcached Memcached のインスタンスを作成 ... スタンスを作成します */ $m2 = new Memcached ( 'story_pool' ); $m3 = new Memcached ( 'story_pool' ); /* これで ...
https://man.plustar.jp/php/memcached.construct.html - [similar]
PREV 1 2 3 NEXT