r18191 -- Run all events that are pending

Jeremy Allison jra at samba.org
Tue Jan 16 17:37:38 GMT 2007


On Tue, Jan 16, 2007 at 12:25:48PM +0100, Volker Lendecke wrote:
> Hi, Jeremy!
> 
> With r18191 you added
> 
>         /* Run all events that are pending, not just one (as
>          * we did previously. */
> 
> 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 :-).

Jeremy.


More information about the samba-technical mailing list