[patch] event_loopbreak()

Antony Dovgal tony at daylessday.org
Mon Jul 6 22:58:22 CEST 2009

On 07.07.2009 00:34, Brandon Black wrote:
> On Mon, Jul 6, 2009 at 3:22 PM, Antony Dovgal<tony at daylessday.org> wrote:
>> Hello all.
>> I'd like to propose a patch adding support for event_loopbreak(), event_base_loopbreak() and ev_break():
>> http://dev.daylessday.org/diff/libev_event_loopbreak.diff
>> I didn't actually use or see libev until today, so bear with me if the patch is wrong/incomplete.
> Does this accomplish something that ev_unloop() does not?

I guess so - the event loop is aborted without processing all the outstanding events.

Antony Dovgal
http://pinba.org - realtime statistics for PHP

More information about the libev mailing list