r18191 -- Run all events that are pending

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 17 09:02:21 GMT 2007


On Tue, Jan 16, 2007 at 09:37:38AM -0800, Jeremy Allison wrote:
> > What particular situation did you fix with this? I'm asking
> > because while running an event we might change the socket
> > status and we might have to re-run select/epoll/whatever
> > again.
> 
> There can be multiple events ready to run at a particular
> time (krb5 refresh etc. events in winbindd) so we must run all
> events whose time has come (so to speak :-).

Sure. But this is "only" an optimization? We would end up in
that loop next round anyway. Or does it fix a real bug?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070117/bd0ece0c/attachment.bin


More information about the samba-technical mailing list