simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Sep 15 15:05:31 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10040
Date:           2013-09-15 15:05:31 +0100 (Sun, 15 Sep 2013)

Log message (9 lines):
Only run one toplevel callback per event loop iteration.

This change attempts to reinstate as a universal property something
which was sporadically true of the ad-hockery that came before
toplevel callbacks: that if there's a _very long_ queue of things to
be done through the callback mechanism, the doing of them will be
interleaved with re-checks of other event sources, which might (e.g.)
cause a flag to be set which makes the next callback decide not to do
anything after all.

Modified files:
U   putty/callback.c
U   putty/putty.h
U   putty/unix/gtkwin.c
U   putty/unix/uxplink.c
U   putty/unix/uxsftp.c
U   putty/windows/window.c
U   putty/windows/winplink.c
U   putty/windows/winsftp.c

Links:
http://svn.tartarus.org/sgt/?rev=10040&view=rev
http://svn.tartarus.org/sgt/putty/callback.c?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/putty.h?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/unix/gtkwin.c?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/unix/uxplink.c?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/unix/uxsftp.c?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/windows/window.c?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/windows/winplink.c?rev=10040&r1=10039&r2=10040
http://svn.tartarus.org/sgt/putty/windows/winsftp.c?rev=10040&r1=10039&r2=10040



More information about the tartarus-commits mailing list