Message1111

Author jbms
Recipients
Date 2013-02-09.08:06:54
Content
Well, that is basically what needs to happen, but in fact it is not just that command that should be run
in a separate coroutine, but rather all commands, except for prefix commands which need to be dealt with
a bit differently.  And that is basically what I try to do in the patch.  I think if just that one
command were special-cased, there would likely still remain some cases where there is a problem.  Using
yield SUSPEND/yield CONTINUATION requires that the code calling yield SUSPEND be tightly coordinated with
the code that uses the continuation to wake it up.  This could be ensured by setting state.continuation
only when the input system has in fact called yield SUSPEND.  That is pretty much the basis of my patch,
just that it then seemed simpler to no longer use a coroutine at all for handling input events.
History
Date User Action Args
2013-02-09 08:06:54jbmssetmessageid: <1360397214.59.0.967430128759.issue440@bugs.conkeror.org>
2013-02-09 08:06:54jbmslinkissue440 messages
2013-02-09 08:06:54jbmscreate