On Tue, Jun 26, 2012 at 11:41 AM, Nick Mathewson <ni...@freehaven.net> wrote: > On Mon, Jun 25, 2012 at 1:20 PM, Zack Weinberg <za...@panix.com> wrote: [...] >> I *think* this can be done with a timer event which is assigned a lower >> priority than all other events in the program, and which is event_add()ed >> with an immediate timeout whenever there are deallocations pending.
Oh, incidentally: using a 0-second timeout is not the best way to actually go about scheduling an event to run immediately. Instead, the better choice is to make the event, and activate it directly using event_active(). yrs, -- Nick *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.