On Thu, Sep 17, 2009 at 02:56:59PM +0200, nicolas dumont wrote: > Hi, > > I'm using events in 1.4.12-stable.
[...] > Finnaly, to prevent to go in the infinite loop , > do I have to run event_del(&ev) each time before using event_set(&ev) ? This is exactly so. You can't call event_set or event_assign on an event while it is added. Unfortunately, because event_set works on uninitialized memory, there is no way for it to check whether it's looking at an added event, or a random chunk of memory that happens to have bits set in the right place. -- Nick _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users