about summary refs log tree commit diff stats
path: root/072scheduler.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-16 18:09:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-16 18:09:53 -0700
commit71ee93216f9555d31c0ba43d32008b5571db9283 (patch)
tree3734ad1788c0573c19dd57ffe9bce02f08335dc0 /072scheduler.cc
parentda925d0697d61db6d265fd78cab3d1adf214950c (diff)
downloadmu-71ee93216f9555d31c0ba43d32008b5571db9283.tar.gz
3204
Fix CI.
Diffstat (limited to '072scheduler.cc')
-rw-r--r--072scheduler.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/072scheduler.cc b/072scheduler.cc
index 068e1617..de5f5ca5 100644
--- a/072scheduler.cc
+++ b/072scheduler.cc
@@ -229,10 +229,13 @@ def f2 [
 //: more complex: refcounting management when starting up new routines
 
 :(scenario start_running_immediately_updates_refcounts_of_ingredients)
+% Scheduling_interval = 1;
 def main [
   local-scope
   create-new-routine
-  switch  # make sure we run new routine before returning
+  # padding to make sure we run new-routine before returning
+  dummy:number <- copy 0
+  dummy:number <- copy 0
 ]
 def create-new-routine [
   local-scope
Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/usr/bin/env zsh
# Copy binaries across mu directories for different students on a single
# server, so we only need to build them once.

cp -r $1/enumerate/enumerate $2/enumerate
cp -r $1/cleave/cleave $2/cleave
rm -rf $2/.build
cp -r $1/.build $2
cp -r $1/mu_bin $2
cd $2
./mu  # couple of things still get recompiled, but should now be quick