Le 10.04.2012 11:10, Nils Rennebarth a écrit :
Or is there something like a idle task, that get called when there is
nothing else to do? Working with timeouts would introduce arbitrary
gaps
in command handling, event if there are no other clients that want
work, so I won't go that route. Or does setting a timeout of { 0, 0 }
work?
Yes, use timeout {0, 0} with the lowest available priority (otherwise,
it may compete with non-idle tasks).
***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users in the body.