Results of 1 - 10 of about 16 for Behaviour (0.002 sec.)
- The parallel\Events class | PHP 8.3 13776
- The parallel\Events class (0.9.0) The Event Loop The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read ( parallel\Future::value() , parallel\Channel::recv() ) and write ( parallel\Channel::s
... lic function addFuture ( string $name , parallel\Future $future ): void public function remove ( string $target ): void /* Behaviour */ public function setBlocking ( bool $blocking ): void public function setTimeout ( int $timeout ): void /* Polling */ pu ... blic function poll (): ? parallel\Events\Event } 目次 parallel\Events::setBlocking — Behaviour parallel\Events::setTimeout — Behaviour parallel\Events::setInput — Input parallel\Events::addChannel — Targets parallel\E ...
-
https://man.mtool.work/php/8.3/class.parallel-events.html
- parallel\Events::setBlocking — Behaviour | PHP 8.3 11852
- parallel\Events::setBlocking (0.9.0) parallel\Events::setBlocking — Behaviour 説明 By default when events are polled for, blocking will occur (at the PHP level) until the first event can be returned: Setting blocking mode to false will caus
... d, will cause an exception to be raised, which may be extremely slow or wasteful if what is really desired is non-blocking behaviour. A non-blocking loop effects the return value of parallel\Events::poll() , such that it may be null before all events have ...
-
https://man.mtool.work/php/8.3/parallel-events.setblocking.html
- parallel | PHP 8.3 9340
- parallel はじめに parallel is a parallel concurrency extension for PHP ≥ 7.2.0. As of parallel 1.2.0, PHP ≥ 8.0.0 is required. A brief description of the concepts core to parallel follows, more detailed information may be found within this
... end — Sharing parallel\Channel::close — Closing parallel\Events — The parallel\Events class parallel\Events::setBlocking — Behaviour parallel\Events::setTimeout — Behaviour parallel\Events::setInput — Input parallel\Events::addChannel — Targets parallel\E ...
-
https://man.mtool.work/php/8.3/book.parallel.html
- parallel\Events::setTimeout — Behaviour | PHP 8.3 9340
- parallel\Events::setTimeout (0.9.0) parallel\Events::setTimeout — Behaviour 説明 By default when events are polled for, blocking will occur (at the PHP level) until the first event can be returned: Setting the timeout causes an exception to
...
-
https://man.mtool.work/php/8.3/parallel-events.settimeout.html
- 実行時設定 | PHP 8.3 8768
- 実行時設定 php.ini の設定により動作が変化します。 Trader 設定オプション 名前 デフォルト 変更可能 変更履歴 trader.real_precision 3 INI_ALL Since trader 0.2.1 trader.real_round_mode HALF_DOWN INI_ALL Since trader 0.3.0 以下に設定ディレクティブ
... _mode string Controls the trader real rounding policy. Valid values are HALF_UP , HALF_DOWN , HALF_EVEN and HALF_ODD . The behaviour is identical to the round() function used with the mode argument. 他のマニュアルの関連ページ Linux JM round(3) Linux JM ne ...
-
https://man.mtool.work/php/8.3/trader.configuration.html
- The parallel\Future class | PHP 8.3 8387
- The parallel\Future class (0.8.0) Futures A Future represents the return value or uncaught exception from a task, and exposes an API for cancellation. 例1 Example showing Future as return value <?php $runtime = new \parallel\Runtime ; $futu
... ld" ; }); printf ( "Hello %s\n" , $future -> value ()); ?> 上の例の出力は、 たとえば以下のようになります。 Hello World The behaviour of a future also allows it to be used as a simple synchronization point even where the task does not return a value explic ...
-
https://man.mtool.work/php/8.3/class.parallel-future.html
- The EvSignal class | PHP 8.3 8179
- The EvSignal class (PECL ev >= 0.2.0) はじめに EvSignal watchers will trigger an event when the process receives a specific signal one or more times. Even though signals are very asynchronous, libev will try its best to deliver signals sync
... ently tied to the default loop. If possible and supported, libev will install its handlers with SA_RESTART (or equivalent) behaviour enabled, so system calls should not be unduly interrupted. In case of a problem with system calls getting interrupted by s ...
-
https://man.mtool.work/php/8.3/class.evsignal.html
- The EvIo class | PHP 8.3 7988
- The EvIo class (PECL ev >= 0.2.0) はじめに EvIo watchers check whether a file descriptor(or socket, or a stream castable to numeric file descriptor) is readable or writable in each iteration of the event loop, or, more precisely, when readi
... ng would not block the process and writing would at least be able to write some data. This behaviour is called level-triggering because events are kept receiving as long as the condition persists. To stop receiving events j ...
-
https://man.mtool.work/php/8.3/class.evio.html
- The EvStat class | PHP 8.3 7988
- The EvStat class (PECL ev >= 0.2.0) はじめに EvStat monitors a file system path for attribute changes. It calls stat() on that path in regular intervals (or when the OS signals it changed) and sees if it changed compared to the last time, i
... components such as '.' or .. . The path should be absolute: if it is relative and the working directory changes, then the behaviour is undefined. Since there is no portable change notification interface available, the portable implementation simply calls ...
-
https://man.mtool.work/php/8.3/class.evstat.html
- 定義済み定数 | PHP 8.3 7988
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 The following opcodes are defined as constants by uopz before 5.0.0: ZEND_EXI
... ent, and the name of the class which that object should be as the second argument The following constants control the VM's behaviour after a user handler is invoked, be extremely careful! These constants are removed as of uopz 5.0.0. ZEND_USER_OPCODE_CONT ...
-
https://man.mtool.work/php/8.3/uopz.constants.html