Le 10.04.2012 11:10, Nils Rennebarth a ÃcritÂ:
Or is there something like a idle task, that get called when there isnothing else to do? Working with timeouts would introduce arbitrary gapsin 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 majordomo@xxxxxxxxxxxxx with unsubscribe libevent-users in the body.