Results of 1 - 10 of about 71 for Blocking (0.003 sec.)
- parallel\Events::setBlocking — Behaviour | PHP 8.3 13226
- 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
... le allowed, 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 e ... vents have been processed. public function parallel\Events::setBlocking ( bool $blocking ): void Shall set blocking mode Exceptions 警告 Shall throw parallel\Events\Error if loop has timeout set ...
-
https://man.mtool.work/php/8.3/parallel-events.setblocking.html
- socket_set_blocking — stream_set_blocking() | PHP 8.3 11244
- socket_set_blocking (PHP 4, PHP 5, PHP 7, PHP 8) socket_set_blocking — stream_set_blocking() のエイリアス 説明 この関数は次の関数のエイリアスです。 stream_set_blocking() . 他のマニュアルの関連ページ Python _thread Linux JM unix(7) Docker ロ
...
-
https://man.mtool.work/php/8.3/function.socket-set-blocking.html
- ssh2_set_timeout — Set the timeout for blocking operations on a session | PHP 8... 10696
- ssh2_set_timeout (PECL ssh2 >= 1.5.0) ssh2_set_timeout — Set the timeout for blocking operations on a session 説明 function ssh2_set_timeout ( resource $session , int $seconds , int $microseconds = 0 ): void Sets how long a blocking operati
... fore it is considered to have timed out. When the resulting timeout is 0 , which is the default, no timeout is applied and blocking operations may wait indefinitely. パラメータ session An SSH connection link identifier, obtained from a call to ssh2_conne ... ond precision, so this value is rounded up to the next whole millisecond. 戻り値 値を返しません。 例 例1 Limiting how long blocking operations may wait <?php $connection = ssh2_connect ( 'shell.example.com' , 22 ); // Give up on blocking operations after ...
-
https://man.mtool.work/php/8.3/function.ssh2-set-timeout.html
- 定義済み定数 | PHP 8.3 9797
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Return values. Always check GearmanClient::error() or GearmanWorker() for a s
... ontain more details: GEARMAN_SUCCESS ( int ) Whatever action was taken was successful. GEARMAN_IO_WAIT ( int ) When in non-blocking mode, an event is hit that would have blocked. GEARMAN_ERRNO ( int ) A system error. Check GearmanClient::errno() or Gearm ... EGISTERED_FUNCTIONS ( int ) When a worker gets a job for a function it did not register. GEARMAN_NO_JOBS ( int ) For a non-blocking worker, when GearmanWorker::work() does not have any active jobs. GEARMAN_ECHO_DATA_CORRUPTION ( int ) After GearmanClient ... pted to stream the workload of a task, but did not specify a workload callback function. GEARMAN_PAUSE ( int ) For the non-blocking client task interface, can be returned from the task callback to "pause" the call and return from GearmanClient::runTasks( ...
-
https://man.mtool.work/php/8.3/gearman.constants.html
- parallel\Events::setTimeout — Behaviour | PHP 8.3 9712
- 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
... be thrown when the timeout is reached. This differs from setting blocking mode to false with parallel\Events::setBlocking() , which will not cause an exception to be thrown. public function parall ... nt $timeout ): void Shall set the timeout in microseconds Exceptions 警告 Shall throw parallel\Events\Error if loop is non-blocking. ...
-
https://man.mtool.work/php/8.3/parallel-events.settimeout.html
- streamWrapper::stream_set_option — ストリームのオプションを変更する | PHP 8.3 9347
- streamWrapper::stream_set_option (PHP 5 >= 5.3.0, PHP 7, PHP 8) streamWrapper::stream_set_option — ストリームのオプションを変更する 説明 public function streamWrapper::stream_set_option ( int $option , int $arg1 , int $arg2 ): bool このメソ
... ッドは、ストリームのオプションを設定する際にコールされます。 パラメータ option 以下のいずれか。 STREAM_OPTION_BLOCKING (このメソッドは、 stream_set_blocking() に対応してコールされます) STREAM_OPTION_READ_TIMEOUT (このメソッドは、 stream_set_ ... ッドは、 stream_set_write_buffer() に対応してコールされます) arg1 option の値に応じて、以下の内容となります。 STREAM_OPTION_BLOCKING : 要求されたブロックモード (1 はブロックモード、0 は非ブロックモード)。 STREAM_OPTION_READ_TIMEOUT : タイムアウト秒数。 ST ... ァモード ( STREAM_BUFFER_NONE あるいは STREAM_BUFFER_FULL )。 arg2 option の値に応じて、以下の内容となります。 STREAM_OPTION_BLOCKING : このオプションは設定されません。 STREAM_OPTION_READ_TIMEOUT : タイムアウトマイクロ秒数。 STREAM_OPTION_READ_BUFFER : 要求 ...
-
https://man.mtool.work/php/8.3/streamwrapper.stream-set-option.html
- GearmanWorker::wait — Wait for activity from one of the job servers | PHP 8.3 9263
- GearmanWorker::wait (PECL gearman >= 0.6.0) GearmanWorker::wait — Wait for activity from one of the job servers 説明 public function GearmanWorker::wait (): bool Causes the worker to wait for activity from one of the Gearman job servers whe
... n operating in non-blocking I/O mode. On failure, issues a E_WARNING with the last Gearman error encountered. パラメータ この関数にはパラメータはありま ... せん。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 Running worker in non-blocking mode <?php echo "Starting\n" ; # Create our worker object $worker = new GearmanWorker (); # Make the worker non-blocking $ ... worker -> addOptions ( GEARMAN_WORKER_NON_BLOCKING ); # Add the default server (localhost, port 4730) $worker -> addServer (); # Add our reverse function $worker -> addFunct ...
-
https://man.mtool.work/php/8.3/gearmanworker.wait.html
- The EventListener class | PHP 8.3 8897
- The EventListener class (PECL event >= 1.5.0) はじめに Represents a connection listener. クラス概要 final class EventListener { /* 定数 */ const int OPT_LEAVE_SOCKETS_BLOCKING = 1 ; const int OPT_CLOSE_ON_FREE = 2 ; const int OPT_CLOSE_ON_E
... d Numeric file descriptor of the underlying socket. (Added in event-1.6.0 .) 定義済み定数 EventListener::OPT_LEAVE_SOCKETS_BLOCKING By default Libevent turns underlying file descriptors, or sockets, to non-blocking mode. This flag tells Libevent to leave ... them in blocking mode. EventListener::OPT_CLOSE_ON_FREE If this option is set, the connection listener closes its underlying socket when th ...
-
https://man.mtool.work/php/8.3/class.eventlistener.html
- The EvIo class | PHP 8.3 8813
- 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
... stop the watcher. The number of read and/or write event watchers per fd is unlimited. Setting all file descriptors to non-blocking mode is also usually a good idea(but not required). Another thing to watch out for is that it is quite easy to receive fal ... ill actually block because there is no data. It is very easy to get into this situation. Thus it is best to always use non-blocking I/O: An extra read() returning EAGAIN (or similar) is far preferable to a program hanging until some data arrives. If for ... some reason it is impossible to run the fd in non-blocking mode, then separately re-test whether a file descriptor is really ready. Some people additionally use SIGALRM and an inter ...
-
https://man.mtool.work/php/8.3/class.evio.html
- Swoole\Process::wait — Wait for the events of child processes. | PHP 8.3 8363
- Swoole\Process::wait (PECL swoole >= 1.9.0) Swoole\Process::wait — Wait for the events of child processes. 説明 public static function Swoole\Process::wait ( bool $blocking = ? ): array パラメータ blocking 戻り値 他のマニュアルの関連ページ
...
-
https://man.mtool.work/php/8.3/swoole-process.wait.html