turning off pre-emptive trampolining because of a very ugly bug. No energy to figure out how to fix it, so I'm turning it off for now.

This commit is contained in:
Danny Yoo 2011-12-04 20:47:00 -05:00
parent 76300eaa85
commit 666fa04243
2 changed files with 10 additions and 6 deletions

View File

@ -377,11 +377,15 @@
var recomputeMaxNumBouncesBeforeYield; var recomputeMaxNumBouncesBeforeYield;
var scheduleTrampoline = function(MACHINE, f) { var scheduleTrampoline = function(MACHINE, f) {
setTimeout( // FIXME: at the moment, the setTimeout is breaking when we get
function() { // a rapid set of events from web-world. We are running into
return MACHINE.trampoline(f); // a very ugly re-entrancy bug. https://github.com/dyoo/whalesong/issues/70
},
0); // setTimeout(
// function() {
return MACHINE.trampoline(f);
// },
// 0);
}; };
// Creates a restarting function, that reschedules f in a context // Creates a restarting function, that reschedules f in a context

View File

@ -7,4 +7,4 @@
(provide version) (provide version)
(: version String) (: version String)
(define version "1.96") (define version "1.97")