summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-14 11:00:47 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-14 11:00:47 +0100
commit524659048602c2812ef431813615a7a03ac90892 (patch)
treec38d54b8dcf4d7e81d2de27e7280a43660dd7a17 /threads.js
parent62d9aa134d18b271a816a58f4385fcfd288bec9a (diff)
parent0a239b703c8c7fde5540ce63c4236522a22ee049 (diff)
downloadsnap-524659048602c2812ef431813615a7a03ac90892.tar.gz
snap-524659048602c2812ef431813615a7a03ac90892.zip
Merge branch 'master' into development
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/threads.js b/threads.js
index 5726af3..c293af6 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2014-December-04';
+modules.threads = '2014-December-11';
var ThreadManager;
var Process;
@@ -1734,6 +1734,7 @@ Process.prototype.doForEach = function (upvar, list, script) {
);
if (index > list.length()) {return; }
this.context.inputs[3] += 1;
+ this.pushContext('doYield');
this.pushContext();
this.evaluate(script, new List(), true);
};