Results of 1 - 10 of about 81 for worker (0.001 sec.)
- State Detection 10026
- « Worker::getStacked Worker::shutdown » PHP Manual Worker State Detection Worker::isShutdown (PE
... CL pthreads >= 2.0.0) Worker::isShutdown — State Detection 説明 public Worker:: ... isShutdown (): bool Whether the worker has been shutdown or not. パラメータ この関数にはパ ... ラメータはありません。 戻り値 Returns whether the worker has been shutdown or not. 例 例1 Detect the state ... of a worker <?php $worker = new Worker (); $worker -> start () ...
-
https://man.plustar.jp/php/worker.isshutdown.html
- [similar]
- Collect references to completed tasks 9862
- « Worker Worker::getStacked » PHP Manual Worker Collect references to completed tasks Worker::co
... llect (PECL pthreads >= 3.0.0) Worker::collect — Collect references to completed tasks 説 ... 明 public Worker::collect ( Callable $collector = ? ): int Allows t ... he worker to collect references determined to be garbage by ... used. 戻り値 The number of remaining tasks on the worker's stack to be collected. 例 例1 A basic example of ...
-
https://man.plustar.jp/php/worker.collect.html
- [similar]
- Stacking work 9698
- « Worker::shutdown Worker::unstack » PHP Manual Worker Stacking work Worker::stack (PECL pthread
... s >= 2.0.0) Worker::stack — Stacking work 説明 public Worker::stack ( ... ppends the new work to the stack of the referenced worker. パラメータ work A Threaded object to be executed ... by the worker. 戻り値 The new size of the stack. 例 例1 Stacking ... a task for execution onto a worker <?php $worker = new Worker (); $work = new class e ...
-
https://man.plustar.jp/php/worker.stack.html
- [similar]
- Shutdown the worker 9630
- « Worker::isShutdown Worker::stack » PHP Manual Worker Shutdown the worker Worker::shutdown (PEC
... L pthreads >= 2.0.0) Worker::shutdown — Shutdown the worker 説明 public Worker ... ::shutdown (): bool Shuts down the worker after executing all of the stacked tasks. パラメー ... false を返します。 例 例1 Shutdown the referenced worker <?php $my = new Worker (); $my -> start (); /* sta ... の出力は以下となります。 bool(true) 関連キーワード: worker , Shutdown , Worker , the , shutdown , パラメータ ...
-
https://man.plustar.jp/php/worker.shutdown.html
- [similar]
- Wait for activity from one of the job servers 9507
- « GearmanWorker::unregisterAll GearmanWorker::work » PHP Manual GearmanWorker Wait for activity
... from one of the job servers GearmanWorker::wait (PECL gearman >= 0.6.0) GearmanWorker::wait ... ity from one of the job servers 説明 public GearmanWorker::wait (): bool Causes the worker to wait for activ ... を、失敗した場合に false を返します。 例 例1 Running worker in non-blocking mode <?php echo "Starting\n" ; # C ... reate our worker object $worker = new GearmanWorker (); # Make the ...
-
https://man.plustar.jp/php/gearmanworker.wait.html
- [similar]
- Gets the remaining stack size 9507
- « Worker::collect Worker::isShutdown » PHP Manual Worker Gets the remaining stack size Worker::g
... etStacked (PECL pthreads >= 2.0.0) Worker::getStacked — Gets the remaining stack size 説明 p ... ublic Worker::getStacked (): int Returns the number of tasks le ... r of tasks currently waiting to be executed by the worker 例 例1 A basic example of Worker::getStacked <?php ... $worker = new Worker (); for ( $i = 0 ; $i < 5 ; ++ $i ) { ...
-
https://man.plustar.jp/php/worker.getstacked.html
- [similar]
- Worker クラス 9398
- « Thread::start Worker::collect » PHP Manual pthreads Worker クラス Worker クラス (PECL pthreads
... のいずれかの条件を満たすまでスレッドは終了しません。 Worker がスコープから外れる (どこからも参照されなくなる) ... キストを再利用できるということです。 オブジェクトを Worker のスタックに置くと、そのオブジェクトの run メソッド ... を Worker が実行します。 クラス概要 class Worker extends Thr ... ic Thread::start ( int $options = ? ): bool } 目次 Worker::collect — Collect references to completed tasks W ...
-
https://man.plustar.jp/php/class.worker.html
- [similar]
- Submits a task to a specific worker for execution 9275
- « Pool::submit Volatile » PHP Manual Pool Submits a task to a specific worker for execution Pool
... 0.0) Pool::submitTo — Submits a task to a specific worker for execution 説明 public Pool::submitTo ( int $wo ... readed $task ): int Submit a task to the specified worker in the pool. The workers are indexed from 0, and w ... hem (since threads are lazily spawned). パラメータ worker The worker to stack the task onto, indexed from 0 ... e task for execution. 戻り値 The identifier of the worker that accepted the task. 例 例1 Submitting tasks to ...
-
https://man.plustar.jp/php/pool.submitTo.html
- [similar]
- pthreads 9070
- « parallel\Sync::__invoke はじめに » PHP Manual プロセス制御 pthreads pthreads はじめに インスト
... る Thread::join — 同期処理 Thread::start — 実行する Worker — Worker クラス Worker::collect — Collect referenc ... es to completed tasks Worker::getStacked — Gets the remaining stack size Worker ... ::isShutdown — State Detection Worker::shutdown — Shutdown the worker Worker::stack — St ... acking work Worker::unstack — Unstacking work Collectable — The Colle ...
-
https://man.plustar.jp/php/book.pthreads.html
- [similar]
- Remove worker options 9015
- « GearmanWorker::register GearmanWorker::returnCode » PHP Manual GearmanWorker Remove worker opt
... ions GearmanWorker::removeOptions (PECL gearman >= 0.6.0) GearmanWork ... er::removeOptions — Remove worker options 説明 public GearmanWorker::removeOptions ( ... int $option ): bool Removes (unsets) one or more worker options. パラメータ option The options to be remov ... d (unset) 戻り値 Always returns true . 参考 GearmanWorker::options() - Get worker options GearmanWorker::set ...
-
https://man.plustar.jp/php/gearmanworker.removeoptions.html
- [similar]