From 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 3 Dec 2017 23:25:40 -0800 Subject: 4134 - 'input' = 'ingredient' --- html/074wait.cc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/074wait.cc.html') diff --git a/html/074wait.cc.html b/html/074wait.cc.html index 661da8b1..945940f8 100644 --- a/html/074wait.cc.html +++ b/html/074wait.cc.html @@ -154,8 +154,8 @@ if ('onhashchange' in window) { 89 :(before "End Primitive Recipe Implementations") 90 case WAIT_FOR_RESET_THEN_SET: { 91 int loc = static_cast<int>(ingredients.at(0).at(0)); - 92 trace(9998, "run") << "wait: *" << loc << " = " << get_or_insert(Memory, loc) << end(); - 93 if (get_or_insert(Memory, loc) == 0) { + 92 trace(9998, "run") << "wait: *" << loc << " = " << get_or_insert(Memory, loc) << end(); + 93 if (get_or_insert(Memory, loc) == 0) { 94 ¦ trace(9998, "run") << "location " << loc << " is already 0; setting" << end(); 95 ¦ put(Memory, loc, 1); 96 ¦ break; @@ -186,7 +186,7 @@ if ('onhashchange' in window) { 121 case RESET: { 122 int loc = static_cast<int>(ingredients.at(0).at(0)); 123 put(Memory, loc, 0); -124 trace(9998, "run") << "reset: *" << loc << " = " << get_or_insert(Memory, loc) << end(); +124 trace(9998, "run") << "reset: *" << loc << " = " << get_or_insert(Memory, loc) << end(); 125 break; 126 } 127 @@ -196,7 +196,7 @@ if ('onhashchange' in window) { 131 for (int i = 0; i < SIZE(Routines); ++i) { 132 if (Routines.at(i)->state != WAITING) continue; 133 int loc = Routines.at(i)->waiting_on_location; -134 if (loc && get_or_insert(Memory, loc) == 0) { +134 if (loc && get_or_insert(Memory, loc) == 0) { 135 ¦ trace("schedule") << "waking up routine " << Routines.at(i)->id << end(); 136 ¦ put(Memory, loc, 1); 137 ¦ Routines.at(i)->state = RUNNING; -- cgit 1.4.1-2-gfad0