diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-01 15:25:47 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-01 15:25:47 -0700 |
commit | 5eddbc16fbd437eeec6cd490cd4280cc9e414b30 (patch) | |
tree | 0aa6fbc5407680859c8f0d61906c61e15a4bcb18 /cpp/038scheduler.cc | |
parent | d90fce40b7760bac27632da3ee08cb51de9d07a0 (diff) | |
download | mu-5eddbc16fbd437eeec6cd490cd4280cc9e414b30.tar.gz |
1229
Diffstat (limited to 'cpp/038scheduler.cc')
-rw-r--r-- | cpp/038scheduler.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/038scheduler.cc b/cpp/038scheduler.cc index 76b90933..3550ff1f 100644 --- a/cpp/038scheduler.cc +++ b/cpp/038scheduler.cc @@ -3,7 +3,7 @@ :(scenario scheduler) recipe f1 [ - run f2:recipe + start-running f2:recipe 1:integer <- copy 3:literal ] recipe f2 [ @@ -86,11 +86,11 @@ for (size_t i = 0; i < Routines.size(); ++i) Routines.clear(); :(before "End Primitive Recipe Declarations") -RUN, +START_RUNNING, :(before "End Primitive Recipe Numbers") -Recipe_number["run"] = RUN; +Recipe_number["start-running"] = START_RUNNING; :(before "End Primitive Recipe Implementations") -case RUN: { +case START_RUNNING: { trace("run") << "ingredient 0 is " << current_instruction().ingredients[0].name; assert(!current_instruction().ingredients[0].initialized); Routines.push_back(new routine(Recipe_number[current_instruction().ingredients[0].name])); @@ -100,7 +100,7 @@ case RUN: { :(scenario scheduler_interleaves_routines) % Scheduling_interval = 1; recipe f1 [ - run f2:recipe + start-running f2:recipe 1:integer <- copy 0:literal 2:integer <- copy 0:literal ] |