Complete implementation of stop block ()

* "Other scripts in stage" sb2

* Complete implementation of "stop" block
This commit is contained in:
Tim Mickel 2016-10-13 23:00:46 -04:00 committed by GitHub
parent c45b420115
commit 3bfd755e60
4 changed files with 29 additions and 5 deletions
src/engine

View file

@ -176,6 +176,15 @@ var execute = function (sequencer, thread) {
startBranch: function (branchNum) {
sequencer.stepToBranch(thread, branchNum);
},
stopAll: function () {
runtime.stopAll();
},
stopOtherTargetThreads: function() {
runtime.stopForTarget(target, thread);
},
stopThread: function() {
sequencer.retireThread(thread);
},
startProcedure: function (procedureName) {
sequencer.stepToProcedure(thread, procedureName);
},