[PATCH] Fix run_events() to run all ready events instead of the first one in the list

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Mar 3 11:05:22 GMT 2009


On Tue, Mar 03, 2009 at 06:37:58PM +0800, boyang wrote:
> Hi, everyone:
>      I think run_events() aims to run all ready events instead of just
> the first one in the list. patch is for master, please review it.

No, this does not work. Event handlers can change the state
of the other event handlers, in particular they can delete
other event handlers. We had this, it leads to crashes.

Sorry,

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/20090303/82fbce37/attachment.bin


More information about the samba-technical mailing list