(PECL event >= 1.2.6-beta)
EventBase::exit — Stop dispatching events
Tells event base to stop optionally after given number of seconds.
timeout
Optional number of seconds after which the event base should stop dispatching events.
成功时返回 true
, 或者在失败时返回 false
。