Results of 1 - 10 of about 58 for EventBase (0.001 sec.)
- The EventBase class | PHP 8.3 11929
- The EventBase class (PECL event >= 1.2.6-beta) はじめに EventBase class represents libevent's event base structure. It holds a set of events and can poll to determine which events are active. Each event base has a method , or a backend that
... h events are ready. The recognized methods are: select , poll , epoll , kqueue , devpoll , evport and win32 . To configure event base to use, or avoid specific backend EventConfig class can be used. 警告 Do NOT destroy the EventBase object as long as reso ... of the associated Event objects are not released. Otherwise, it will lead to unpredictable results! クラス概要 final class EventBase { /* 定数 */ const int LOOP_ONCE = 1 ; const int LOOP_NONBLOCK = 2 ; const int NOLOCK = 1 ; const int STARTUP_IOCP = 4 ; c ... tion priorityInit ( int $n_priorities ): bool public function reInit (): bool public function stop (): bool } 定義済み定数 EventBase::LOOP_ONCE Flag used with EventBase::loop() method which means: "block until libevent has an active event, then exit once ...
-
https://man.mtool.work/php/8.3/class.eventbase.html
- EventBase::gotStop — Checks if the event loop was told to exit | PHP 8.3 10641
- EventBase::gotStop (PECL event >= 1.2.6-beta) EventBase::gotStop — Checks if the event loop was told to exit 説明 public function EventBase::gotStop (): bool Checks if the event loop was told to exit by EventBase::stop() . パラメータ この関
... 数にはパラメータはありません。 戻り値 Returns true , event loop was told to stop by EventBase::stop() . Otherwise false . 参考 EventBase::exit() - Stop dispatching events EventBase::stop() - Tells event_base to stop ... dispatching events EventBase::gotExit() - Checks if the event loop was told to exit 他のマニュアルの関連ページ Python asyncio-policy Docker stop Docker ...
-
https://man.mtool.work/php/8.3/eventbase.gotstop.html
- EventBase::gotExit — Checks if the event loop was told to exit | PHP 8.3 10524
- EventBase::gotExit (PECL event >= 1.2.6-beta) EventBase::gotExit — Checks if the event loop was told to exit 説明 public function EventBase::gotExit (): bool Checks if the event loop was told to exit by EventBase::exit() . パラメータ この関
... 数にはパラメータはありません。 戻り値 Returns true , event loop was told to exit by EventBase::exit() . Otherwise false . 参考 EventBase::exit() - Stop dispatching events EventBase::stop() - Tells event_base to stop ... dispatching events EventBase::gotStop() - Checks if the event loop was told to exit 他のマニュアルの関連ページ Python asyncio-policy Linux JM losetup(8 ...
-
https://man.mtool.work/php/8.3/eventbase.gotexit.html
- EventBase::free — Free resources allocated for this event base | PHP 8.3 10407
- EventBase::free (PECL event >= 1.10.0) EventBase::free — Free resources allocated for this event base 説明 public function EventBase::free (): void Deallocates resources allocated by libevent for the EventBase object. 警告 The EventBase::fr
... et() , or assign null . This method does not deallocate or detach any of the events that are currently associated with the EventBase object, or close any of their sockets - beware. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 参 ... 考 EventBase::__construct() - Constructs EventBase object 他のマニュアルの関連ページ Docker 共通する問題の回避策 Linux JM mallinfo(3) L ...
-
https://man.mtool.work/php/8.3/eventbase.free.html
- EventBase::__construct — Constructs EventBase object | PHP 8.3 10202
- EventBase::__construct (PECL event >= 1.2.6-beta) EventBase::__construct — Constructs EventBase object 説明 public function EventBase::__construct ( EventConfig $cfg = ? ) Constructs EventBase object パラメータ cfg Optional EventConfig obje
... ct. エラー / 例外 If EventBase cannot be constructed with the provided configuration, a EventException will be thrown. 参考 EventConfig ...
-
https://man.mtool.work/php/8.3/eventbase.construct.html
- EventBase::loop — Dispatch pending events | PHP 8.3 9909
- EventBase::loop (PECL event >= 1.2.6-beta) EventBase::loop — Dispatch pending events 説明 public function EventBase::loop ( int $flags = ? ): bool Wait for events to become active, and run their callbacks. 警告 Do NOT destroy the EventBase
... Event objects are not released. Otherwise, it will lead to unpredictable results! パラメータ flags Optional flags. One of EventBase::LOOP_* constants. See EventBase constants . 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBa ...
-
https://man.mtool.work/php/8.3/eventbase.loop.html
- Event | PHP 8.3 9587
- Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind
... er — Re-configures timer event Event::signal — Constructs signal event object Event::timer — Constructs timer event object EventBase — The EventBase class EventBase::__construct — Constructs EventBase object EventBase::dispatch — Dispatch pending events E ... ventBase::exit — Stop dispatching events EventBase::free — Free resources allocated for this event base EventBase::getFeatures — Returns bitmask of features supported EventB ... ase::getMethod — Returns event method in use EventBase::getTimeOfDayCached — Returns the current event base time EventBase::gotExit — Checks if the event loop was told to exit E ...
-
https://man.mtool.work/php/8.3/book.event.html
- EventBase::dispatch — Dispatch pending events | PHP 8.3 9236
- EventBase::dispatch (PECL event >= 1.2.6-beta) EventBase::dispatch — Dispatch pending events 説明 public function EventBase::dispatch (): void Wait for events to become active, and run their callbacks. The same as EventBase::loop() with no
... flags set. 警告 Do NOT destroy the EventBase object as long as resources of the associated Event objects are not released. Otherwise, it will lead to unpredictable res ... lts! パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBase::loop() - Dispatch pending events 他のマニュアルの関連ページ Docker docker-compose events Linux JM exit(2) Linux JM _Exit( ...
-
https://man.mtool.work/php/8.3/eventbase.dispatch.html
- EventBase::getMethod — Returns event method in use | PHP 8.3 9148
- EventBase::getMethod (PECL event >= 1.2.6-beta) EventBase::getMethod — Returns event method in use 説明 public function EventBase::getMethod (): string パラメータ この関数にはパラメータはありません。 戻り値 String representing used event me
... thod(backend). 例 例1 EventBase::getMethod() example <?php $cfg = new EventConfig (); if ( $cfg -> avoidMethod ( "select" )) { echo "'select' method avoid ... ed\n" ; } // Create event_base associated with the config $base = new EventBase ( $cfg ); echo "Event method used: " , $base -> getMethod (), PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 ... `select' method avoided Event method used: epoll 参考 EventBase::getFeatures() - Returns bitmask of features supported 他のマニュアルの関連ページ Linux JM epoll_ctl(2) Linux JM epoll_cre ...
-
https://man.mtool.work/php/8.3/eventbase.getmethod.html
- EventBase::getFeatures — Returns bitmask of features supported | PHP 8.3 9031
- EventBase::getFeatures (PECL event >= 1.2.6-beta) EventBase::getFeatures — Returns bitmask of features supported 説明 public function EventBase::getFeatures (): int Returns bitmask of features supported. パラメータ この関数にはパラメータはあ
... ません。 戻り値 Returns integer representing a bitmask of supported features. See EventConfig::FEATURE_* constants . 例 例1 EventBase::getFeatures() example <?php // Avoiding "select" method $cfg = new EventConfig (); if ( $cfg -> avoidMethod ( "select" )) ... { echo "'select' method avoided\n" ; } $base = new EventBase ( $cfg ); echo "Features:\n" ; $features = $base -> getFeatures (); ( $features & EventConfig :: FEATURE_ET ) and print "E ... eatures & EventConfig :: FEATURE_FDS ) and print "FDS - arbitrary file descriptor types, and not just sockets\n" ; ?> 参考 EventBase::getMethod() - Returns event method in use EventConfig ...
-
https://man.mtool.work/php/8.3/eventbase.getfeatures.html