[Libevent-users] pause libevent?

Niels Provos provos at citi.umich.edu
Fri Feb 9 02:57:30 EST 2007


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 <adam.chou at gmail.com> 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 at monkey.org
> http://monkey.org/mailman/listinfo/libevent-users
>
>


More information about the Libevent-users mailing list