« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 11 for defaultLoop (0.004 sec.)
EvLoop::defaultLoop — Returns or creates the default event loop | PHP 8.3 14172
EvLoop::defaultLoop (PECL ev >= 0.2.0) EvLoop::defaultLoop — Returns or creates the default event loop 説明 public static function EvLoop::defaultLoop ( int $flags = Ev::FLAG_AUTO , mixed $data = NULL , float $io_interval = 0. , float $time ... out_interval = 0. ): EvLoop If the default event loop is not created, EvLoop::defaultLoop() creates it with the specified parameters. Otherwise, it just returns the object representing previously created instance ...
https://man.mtool.work/php/8.3/evloop.defaultloop.html
The EvLoop class | PHP 8.3 9779
The EvLoop class (PECL ev >= 0.2.0) はじめに Represents an event loop that is always distinct from the default loop . Unlike the default loop , it cannot handle EvChild watchers. Having threads we have to create a loop per thread, and use t ... he default loop in the parent thread. The default event loop is initialized automatically by Ev . It is accessible via methods of the Ev ... class, or via EvLoop::defaultLoop() method. クラス概要 final class EvLoop { /* プロパティ */ public $ data ; public $ backend ; public $ is_default_loop ; p ... string $pid , string $trace , string $callback , string $data = ? , string $priority = ? ): EvChild public static function defaultLoop ( int $flags = Ev::FLAG_AUTO , mixed $data = NULL , float $io_interval = 0. , float $timeout_interval = 0. ): EvLoop final ...
https://man.mtool.work/php/8.3/class.evloop.html
EvLoop::__construct — Constructs the event loop object | PHP 8.3 9015
EvLoop::__construct (PECL ev >= 0.2.0) EvLoop::__construct — Constructs the event loop object 説明 public function EvLoop::__construct ( int $flags = ? , mixed $data = NULL , float $io_interval = 0.0 , float $timeout_interval = 0.0 ) Constr ... data Custom data associated with the loop. io_interval See io_interval timeout_interval See timeout_interval 参考 EvLoop::defaultLoop() - Returns or creates the default event loop 他のマニュアルの関連ページ Python asyncio-policy Linux JM losetup(8) Python ...
https://man.mtool.work/php/8.3/evloop.construct.html
Ev::embeddableBackends — 他のイベントループに埋め込めるバックエンド群を返す | P... 8393
Ev::embeddableBackends (PECL ev >= 0.2.0) Ev::embeddableBackends — 他のイベントループに埋め込めるバックエンド群を返す 説明 final public static function Ev::embeddableBackends (): int 他のイベントループに埋め込めるバックエンド群を返します。 ... )。 * * この例を流用しました * http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9 */ $loop = EvLoop :: defaultLoop (); $socket_loop = NULL ; $embed = NULL ; if ( Ev :: supportedBackends () & ~ Ev :: recommendedBackends () & Ev :: BACKEND ...
https://man.mtool.work/php/8.3/ev.embeddablebackends.html
例 | PHP 8.3 8393
例 例1 タイマーのサンプル <?php // タイマーを作り、2 秒後に起動します $w1 = new EvTimer ( 2 , 0 , function () { echo "2 seconds elapsed\n" ; }); // タイマーを作って 2 秒後に起動させ、その後は // 手で止めるまで 1 秒おきに繰り返します $w2 = n ... PHP に移植したものです。 * http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9 */ $loop_hi = EvLoop :: defaultLoop (); $loop_lo = NULL ; $embed = NULL ; /* * 使えるループを取得できるかどうかを調べます * (フラグの値が 0 の場合は自動検出を ... )。 * * この例を流用しました * http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9 */ $loop = EvLoop :: defaultLoop (); $socket_loop = NULL ; $embed = NULL ; if ( Ev :: supportedBackends () & ~ Ev :: recommendedBackends () & Ev :: BACKEND ...
https://man.mtool.work/php/8.3/ev.examples.html
Ev::supportedBackends — 現在の libev の構成でサポートするバックエンド群を返す |... 8393
Ev::supportedBackends (PECL ev >= 0.2.0) Ev::supportedBackends — 現在の libev の構成でサポートするバックエンド群を返す 説明 final public static function Ev::supportedBackends (): int 現在の libev の構成でサポートするバックエンド群を返します ... )。 * * この例を流用しました * http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9 */ $loop = EvLoop :: defaultLoop (); $socket_loop = NULL ; $embed = NULL ; if ( Ev :: supportedBackends () & ~ Ev :: recommendedBackends () & Ev :: BACKEND ...
https://man.mtool.work/php/8.3/ev.supportedbackends.html
Ev::recommendedBackends — 現在のプラットフォーム上でおすすめのバックエンドのビ... 8268
Ev::recommendedBackends (PECL ev >= 0.2.0) Ev::recommendedBackends — 現在のプラットフォーム上でおすすめのバックエンドのビットマスクを返す 説明 final public static function Ev::recommendedBackends (): int この libev のバイナリに組み込まれたす ... PHP に移植したものです。 * http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9 */ $loop_hi = EvLoop :: defaultLoop (); $loop_lo = NULL ; $embed = NULL ; /* * 使えるループを取得できるかどうかを調べます * (フラグの値が 0 の場合は自動検出を ...
https://man.mtool.work/php/8.3/ev.recommendedbackends.html
EvEmbed::__construct — EvEmbed オブジェクトを作る | PHP 8.3 8268
EvEmbed::__construct (PECL ev >= 0.2.0) EvEmbed::__construct — EvEmbed オブジェクトを作る 説明 public function EvEmbed::__construct ( object $other , callable $callback = ? , mixed $data = ? , int $priority = ? ) これは高度なウォッチャー型で ... )。 * * この例を流用しました * http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9 */ $loop = EvLoop :: defaultLoop (); $socket_loop = NULL ; $embed = NULL ; if ( Ev :: supportedBackends () & ~ Ev :: recommendedBackends () & Ev :: BACKEND ...
https://man.mtool.work/php/8.3/evembed.construct.html
Ev | PHP 8.3 7895
Ev はじめに この拡張モジュールは、 » libev ライブラリへのインターフェイスを提供します。 このライブラリは、C で書かれたハイパフォーマンスで高機能なイベントループです。 注意 : この拡張モジュールは Windows 環境では利用できません。 Libev はイベ ... eates EvChild object associated with the current event loop EvLoop::__construct — Constructs the event loop object EvLoop::defaultLoop — Returns or creates the default event loop EvLoop::embed — Creates an instance of EvEmbed watcher associated with the cur ...
https://man.mtool.work/php/8.3/book.ev.html
Ev クラス | PHP 8.3 7770
Ev クラス (PECL ev >= 0.2.0) はじめに Ev は静的クラスで、デフォルトのループへのアクセスや各種共通操作へのアクセスを提供します。 クラス概要 final class Ev { /* 定数 */ const int FLAG_AUTO = 0 ; const int FLAG_NOENV = 16777216 ; const int FLA ... するには EvLoop クラスのプロパティやメソッドを使います。 デフォルトのイベントループ自体のインスタンスを取得するには EvLoop::defaultLoop() メソッドを使います。 目次 Ev::backend — libev が使うバックエンドを表す整数値を返す Ev::depth — 再帰の深さを返す Ev::embe ...
https://man.mtool.work/php/8.3/class.ev.html
PREV 1 2 NEXT