libevent doesn't do any pre-emptive scheduling. So, I don't understand your problem. Your code can run as long as it likes. It just means that other events don't get handled in the meantime.
Niels. On 2/8/07, Adam Chou <[EMAIL PROTECTED]> wrote:
i have a critical section of code where once it starts running, it MUST finish. is there some way to stop libevent so that it doesn't interrupt the execution of my code or do i actually have to event_del() everything then event_add() everything back when i'm done? _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users