[Libevent-users] event priorities

2006-06-13 Thread Ka-Hing Cheung
Looking at event.c:event_process_active(), it looks like higher priority events can starve low priority ones if high priority events are generated during the event callback. Is that by design or a bug? -- Ka-Hing Cheung <[EMAIL PROTECTED]> ___ Libevent

Re: [Libevent-users] event priorities

2006-06-13 Thread Niels Provos
On 6/13/06, Ka-Hing Cheung <[EMAIL PROTECTED]> wrote: generated during the event callback. Is that by design or a bug? That's by design. Niels. ___ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-user

Re: [Libevent-users] event priorities

2006-06-13 Thread Ka-Hing Cheung
On Tue, 2006-06-13 at 17:03 -0700, Niels Provos wrote: > On 6/13/06, Ka-Hing Cheung <[EMAIL PROTECTED]> wrote: > > generated during the event callback. Is that by design or a bug? > > That's by design. What is the rationale behind this? I have some higher priority timers that are blocking IO even