diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-09 00:02:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-09 00:02:23 -0700 |
commit | e8b1d3ff06bdfcc0005c70ccd99cd26cba3e1eef (patch) | |
tree | efd145601d5249dfde18b5be7be3b95e229717d7 /html/038scheduler.cc.html | |
parent | fd1e8afdc9f68612f207d75b31b2011e8e738a47 (diff) | |
download | mu-e8b1d3ff06bdfcc0005c70ccd99cd26cba3e1eef.tar.gz |
1549
Diffstat (limited to 'html/038scheduler.cc.html')
-rw-r--r-- | html/038scheduler.cc.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/html/038scheduler.cc.html b/html/038scheduler.cc.html index abf7f469..518440ce 100644 --- a/html/038scheduler.cc.html +++ b/html/038scheduler.cc.html @@ -10,8 +10,8 @@ <meta name="colorscheme" content="minimal"> <style type="text/css"> <!-- -pre { white-space: pre-wrap; font-family: monospace; color: #d0d0d0; background-color: #080808; } -body { font-family: monospace; color: #d0d0d0; background-color: #080808; } +pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } +body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1em; } .traceContains { color: #008000; } .cSpecial { color: #008000; } @@ -82,7 +82,9 @@ long long int Scheduling_interval = <span class="Constant">500</span><span class Scheduling_interval = <span class="Constant">500</span><span class="Delimiter">;</span> <span class="Delimiter">:(replace{} "void run(recipe_number r)")</span> void run<span class="Delimiter">(</span>recipe_number r<span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span class="CommentedCode">//? cerr << "AAA 4\n"; //? 1</span> Routines<span class="Delimiter">.</span>push_back<span class="Delimiter">(</span>new routine<span class="Delimiter">(</span>r<span class="Delimiter">));</span> +<span class="CommentedCode">//? cerr << "AAA " << Routines.size() << " routines\n"; //? 1</span> Current_routine_index = <span class="Constant">0</span><span class="Delimiter">,</span> Current_routine = Routines<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">);</span> while <span class="Delimiter">(</span>!all_routines_done<span class="Delimiter">())</span> <span class="Delimiter">{</span> skip_to_next_routine<span class="Delimiter">();</span> @@ -94,6 +96,7 @@ void run<span class="Delimiter">(</span>recipe_number r<span class="Delimiter">) <span class="CommentedCode">//? trace("schedule") << Current_routine->id << " " << current_recipe_name(); //? 1</span> run_current_routine<span class="Delimiter">(</span>Scheduling_interval<span class="Delimiter">);</span> <span class="Comment">// Scheduler State Transitions</span> +<span class="CommentedCode">//? cerr << "AAA completed? " << Current_routine->completed() << '\n'; //? 1</span> if <span class="Delimiter">(</span>Current_routine<span class="Delimiter">-></span>completed<span class="Delimiter">())</span> Current_routine<span class="Delimiter">-></span>state = COMPLETED<span class="Delimiter">;</span> <span class="Comment">// End Scheduler State Transitions</span> |