This is actually a workaround as we don't have a way to create a low prio tevent queue that fires at a priority lower than file events.
I'll work with upstream to fix this later on, meanwhile this patch will do.
FYI: I haven't used timed_timeval_add() because it is buggy wrt microseconds in current release tevetn. (I have already committed a patch to fix the problem upstream).
Simo.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/25/2009 11:22 AM, Simo Sorce wrote:
This is actually a workaround as we don't have a way to create a low prio tevent queue that fires at a priority lower than file events.
I'll work with upstream to fix this later on, meanwhile this patch will do.
FYI: I haven't used timed_timeval_add() because it is buggy wrt microseconds in current release tevetn. (I have already committed a patch to fix the problem upstream).
Simo.
sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel
I had wondered if that behavior existed inside the tevent library. I guess I assumed that it maintained a circular linked-list of events that it would process, rather than going through all timer events and then all fd events.
I guess we'll work around it this way, but I'd like to see something smarter in the upstream project.
Ack.
- -- Stephen Gallagher RHCE 804006346421761
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/25/2009 12:26 PM, Stephen Gallagher wrote:
On 09/25/2009 11:22 AM, Simo Sorce wrote:
This is actually a workaround as we don't have a way to create a low prio tevent queue that fires at a priority lower than file events.
I'll work with upstream to fix this later on, meanwhile this patch will do.
FYI: I haven't used timed_timeval_add() because it is buggy wrt microseconds in current release tevetn. (I have already committed a patch to fix the problem upstream).
Simo.
sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel
I had wondered if that behavior existed inside the tevent library. I guess I assumed that it maintained a circular linked-list of events that it would process, rather than going through all timer events and then all fd events.
I guess we'll work around it this way, but I'd like to see something smarter in the upstream project.
Ack.
Pushed to master. _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel
- -- Stephen Gallagher RHCE 804006346421761
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
sssd-devel@lists.fedorahosted.org