« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for SyncEvent (0.001 sec.)
SyncEvent::reset — Resets a manual event | PHP 8.3 10723
SyncEvent::reset (PECL sync >= 1.0.0) SyncEvent::reset — Resets a manual event 説明 public function SyncEvent::reset (): bool Resets a SyncEvent object that has been fired/set. Only valid for manual event objects. パラメータ この関数にはパラ ... メータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncEvent::reset() example <?php // In a web application: $event = new SyncEvent ( "DemoApplication" , true ); $event -> wait (); // ... In a cron job: $event = new SyncEvent ( "DemoApplication" , true ); $event -> reset (); /* ... Do some maintenance task(s) ... */ $event -> fire (); ?> 参考 Syn ... cEvent::fire() - Fires/sets the event SyncEvent::reset() SyncEvent::wait() - Waits for the event to be fired/set 他のマニュアルの関連ページ Linux JM wait(2) Docker docker ...
https://man.mtool.work/php/8.3/syncevent.reset.html
SyncEvent::__construct — Constructs a new SyncEvent object | PHP 8.3 10632
SyncEvent::__construct (PECL sync >= 1.0.0) SyncEvent::__construct — Constructs a new SyncEvent object 説明 public function SyncEvent::__construct ( string $name = ? , bool $manual = false , bool $prefire = false ) Constructs a named or unn ... ) the event object. 注意 : Only has impact if the calling process/thread is the first to create the object. 戻り値 The new SyncEvent object. エラー / 例外 An exception is thrown if the event object cannot be created or opened. 例 例1 SyncEvent::__construc ... t() example <?php // In a web application: $event = new SyncEvent ( "GetAppReport" ); $event -> fire (); // In a cron job: $event = new SyncEvent ( "GetAppReport" ); $event -> wait (); ?> ... 変更履歴 バージョン 説明 PECL sync 1.1.0 Added prefire . 参考 SyncEvent::fire() - Fires/sets the event SyncEvent::reset() - Resets a manual event SyncEvent::wait() - Waits for the event to be fi ...
https://man.mtool.work/php/8.3/syncevent.construct.html
SyncEvent::fire — Fires/sets the event | PHP 8.3 10378
SyncEvent::fire (PECL sync >= 1.0.0) SyncEvent::fire — Fires/sets the event 説明 public function SyncEvent::fire (): bool Fires/sets a SyncEvent object. Lets multiple threads through that are waiting if the event object was created with a m ... . パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncEvent::fire() example <?php // In a web application: $event = new SyncEvent ( "GetAppReport" ); $event -> fire (); // In a cron ... job: $event = new SyncEvent ( "GetAppReport" ); $event -> wait (); ?> 参考 SyncEvent::reset() - Resets a manual event SyncEvent::wait() - Waits for th ...
https://man.mtool.work/php/8.3/syncevent.fire.html
SyncEvent::wait — Waits for the event to be fired/set | PHP 8.3 9778
SyncEvent::wait (PECL sync >= 1.0.0) SyncEvent::wait — Waits for the event to be fired/set 説明 public function SyncEvent::wait ( int $wait = -1 ): bool Waits for the SyncEvent object to be fired. パラメータ wait The number of milliseconds ... the event to be fired. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncEvent::wait() example <?php // In a web application: $event = new SyncEvent ( "GetAppReport" ); $event -> fire (); // In a cron ... job: $event = new SyncEvent ( "GetAppReport" ); $event -> wait (); ?> 参考 SyncEvent::fire() - Fires/sets the event 他のマニュアルの関連ページ Linux J ...
https://man.mtool.work/php/8.3/syncevent.wait.html
The SyncEvent class | PHP 8.3 8888
The SyncEvent class (PECL sync >= 1.0.0) はじめに A cross-platform, native implementation of named and unnamed event objects. Both automatic and manual event objects are supported. An event object waits, without polling, for the object to b ... ng process would otherwise poll a resource (e.g. checking to see if uploaded data needs to be processed). クラス概要 class SyncEvent { /* メソッド */ public function __construct ( string $name = ? , bool $manual = false , bool $prefire = false ) public fu ... nction fire (): bool public function reset (): bool public function wait ( int $wait = -1 ): bool } 目次 SyncEvent::__construct — Constructs a new SyncEvent object SyncEvent::fire — Fires/sets the event SyncEvent::reset — Resets a manual ... event SyncEvent::wait — Waits for the event to be fired/set 他のマニュアルの関連ページ Linux JM wait(2) Linux JM sync(2) Linux JM sync(1) ...
https://man.mtool.work/php/8.3/class.syncevent.html
Sync | PHP 8.3 7888
Sync はじめに The sync extension introduces cross-platform synchronization objects into PHP. Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory objects provide OS-level synchronization on both POSIX (e.g. Linu ... maphore::lock — Decreases the count of the semaphore or waits SyncSemaphore::unlock — Increases the count of the semaphore SyncEvent — The SyncEvent class SyncEvent::__construct — Constructs a new SyncEvent object SyncEvent::fire — Fires/sets the event Sy ... ncEvent::reset — Resets a manual event SyncEvent::wait — Waits for the event to be fired/set SyncReaderWriter — The SyncReaderWriter class SyncReaderWriter::__construct — ...
https://man.mtool.work/php/8.3/book.sync.html
プロセス制御 | PHP 8.3 5289
プロセス制御 Eio インストール/設定 定義済み定数 例 Eio 関数 Ev インストール/設定 例 ウォッチャー ウォッチャーのコールバック Periodic ウォッチャーの操作モード Ev — Ev クラス EvCheck — EvCheck クラス EvChild — EvChild クラス EvEmbed — EvEmbed ... モリ関数 Shmop — Shmop クラス Sync インストール/設定 SyncMutex — The SyncMutex class SyncSemaphore — The SyncSemaphore class SyncEvent — The SyncEvent class SyncReaderWriter — The SyncReaderWriter class SyncSharedMemory — The SyncSharedMemory class 他のマニ ...
https://man.mtool.work/php/8.3/refs.fileprocess.process.html
PREV 1 NEXT