php[world] 2019 — 25 years of PHP

EvLoop::nowUpdate

(PECL ev >= 0.2.0)

EvLoop::nowUpdateEstablishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress

説明

public EvLoop::nowUpdate ( void ) : void

Establishes the current time by querying the kernel, updating the time returned by EvLoop::now() in the progress. This is a costly operation and is usually done automatically within EvLoop::run() .

パラメータ

この関数にはパラメータはありません。

返り値

値を返しません。

参考

  • EvLoop::now() - Returns the current "event loop time"
  • Ev::nowUpdate() - カーネルに問い合わせて現在時刻を確認し、処理中の Ev::now が返す時刻を更新する
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top