downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

event_base_new> <event_base_loopbreak
[edit] Last updated: Fri, 17 May 2013

view this page in

event_base_loopexit

(PECL libevent >= 0.0.1)

event_base_loopexitSale del bucle después de un tiempo

Descripción

bool event_base_loopexit ( resource $event_base [, int $timeout = -1 ] )

La siguiente iteración del bucle después de cumplido el tiempo se completará normalmente, entonces saldrá del bucle sin bloquear, en espera de otros eventos.

Parámetros

event_base

Base de eventos.

timeout

Parámetro opcional de timeout (en microsegundos).

Valores devueltos

event_base_loopexit() devuelve TRUE en caso de éxito o FALSE en caso de error.



add a note add a note User Contributed Notes event_base_loopexit - [1 notes]
up
0
jille at hexon dot cx
2 years ago
The timeout (if >= 0) is in microseconds.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites