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

search for in the

event_base_new> <event_base_loopbreak
[edit] Last updated: Fri, 25 May 2012

view this page in

event_base_loopexit

(PECL libevent >= 0.0.1)

event_base_loopexitあとでループを終了する

説明

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

指定した時間が経過した時点でのイベントループの処理を正常に終えたあとに、 イベントをブロックせずにループを終了します。

パラメータ

event_base

有効なイベントベースリソース。

timeout

オプションのタイムアウト (マイクロ秒)。

返り値

event_base_loopexit() は、成功した場合に TRUE、エラー時に FALSE を返します。



add a note add a note User Contributed Notes event_base_loopexit
jille at hexon dot cx 04-May-2011 01:47
The timeout (if >= 0) is in microseconds.

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