Ev::resume

(PECL ev >= 0.2.0) Resume previously suspended default event loop final public static void Ev::resume ( void ) Ev::suspend() and Ev::resume() methods suspend and resume a loop correspondingly. All timer watchers will be delayed by the time spend between suspend and resume , and all periodic watchers will be rescheduled(that is, they will lose any events that would have occurred while suspended). After calling Ev::sus

Ev::recommendedBackends

(PECL ev >= 0.2.0) Returns a bit mask of recommended backends for current platform. final public static void Ev::recommendedBackends ( void ) Returns the set of all backends compiled into this binary of libev and also recommended for this platform, meaning it will work for most file descriptor types. This set is often smaller than the one returned by ev_supported_backends() , as for example kqueue is broken on most BSD s

Ev::nowUpdate

(PECL ev >= 0.2.0) Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress. final public static void Ev::nowUpdate ( void ) Establishes the current time by querying the kernel, updating the time returned by Ev::now() in the progress. This is a costly operation and is usually done automatically within Ev::run() . This method is rarely useful, but when some event callbac

Ev::now

(PECL ev >= 0.2.0) Returns the time when the last iteration of the default event loop has started. final public static double Ev::now ( void ) Returns the time when the last iteration of the default event loop has started. This is the time that timers( EvTimer and EvPeriodic ) are based on, and referring to it is usually faster then calling Ev::time() . Returns: Returns number of seconds(fracti

Ev::iteration

(PECL ev >= 0.2.0) Return the number of times the default event loop has polled for new events. final public static int Ev::iteration ( void ) Return the number of times the event loop has polled for new events. Sometimes useful as a generation counter. Returns: Returns number of polls of the default event loop. See also:

Ev::feedSignalEvent

(No version information available, might only be in Git) Feed signal event into the default loop final public static void Ev::feedSignalEvent ( int $signum ) Feed signal event into the default loop. Ev will react to this call as if the signal specified by signal had occurred. Parameters: signum Signal number. See signal(7) man page for detals. See also constants exporte

Ev::feedSignal

(PECL ev >= 0.2.0) Feed a signal event info Ev final public static void Ev::feedSignal ( int $signum ) Simulates a signal receive. It is safe to call this function at any time, from any context, including signal handlers or random threads. Its main use is to customise signal handling in the process. Unlike Ev::feedSignalEvent() , this works regardless of which loop has registered the signal. Parameter

Ev::embeddableBackends

(PECL ev >= 0.2.0) Returns the set of backends that are embeddable in other event loops. final public static void Ev::embeddableBackends ( void ) Returns the set of backends that are embeddable in other event loops. Returns: Returns a bit mask which can containing backend flags combined using bitwise OR operator. Examples: Embeddin

Ev::depth

(PECL ev >= 0.2.0) Returns recursion depth final public static int Ev::depth ( void ) The number of times Ev::run() was entered minus the number of times Ev::run() was exited normally, in other words, the recursion depth. Outside Ev::run() , this number is 0 . In a callback, this number is 1 , unless Ev::run() was invoked recursively (or from another thread), in which case it is higher. Returns:

Ev::backend

(PECL ev >= 0.2.0) Returns an integer describing the backend used by libev. final public static int Ev::backend ( void ) Returns an integer describing the backend used by libev . See Backend flags Returns: Returns an integer(bit mask) describing the backend used by libev . See also: EvEmbed -