(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.
Returns true
on success or false
on failure.