From ffc9e66b3505990009e47b461eb03d3eb1635258 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 5 Nov 2017 02:00:26 -0800 Subject: 4109 --- html/074wait.cc.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html/074wait.cc.html') diff --git a/html/074wait.cc.html b/html/074wait.cc.html index 934f2f29..661da8b1 100644 --- a/html/074wait.cc.html +++ b/html/074wait.cc.html @@ -197,7 +197,7 @@ if ('onhashchange' in window) { 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) { -135 ¦ trace(9999, "schedule") << "waking up routine " << Routines.at(i)->id << end(); +135 ¦ trace("schedule") << "waking up routine " << Routines.at(i)->id << end(); 136 ¦ put(Memory, loc, 1); 137 ¦ Routines.at(i)->state = RUNNING; 138 ¦ Routines.at(i)->waiting_on_location = 0; @@ -425,7 +425,7 @@ if ('onhashchange' in window) { 360 ¦ const routine* waitee = Routines.at(j); 361 ¦ if (waitee->id == id && waitee->state != RUNNING && waitee->state != WAITING) { 362 ¦ ¦ // routine is COMPLETED or DISCONTINUED -363 ¦ ¦ trace(9999, "schedule") << "waking up routine " << waiter->id << end(); +363 ¦ ¦ trace("schedule") << "waking up routine " << waiter->id << end(); 364 ¦ ¦ waiter->state = RUNNING; 365 ¦ ¦ waiter->waiting_on_routine = 0; 366 ¦ } @@ -585,7 +585,7 @@ if ('onhashchange' in window) { 520 ¦ const routine* waitee = Routines.at(j); 521 ¦ if (waitee->id != id) continue; 522 ¦ if (waitee->state != RUNNING || waitee->blocked) { -523 ¦ ¦ trace(9999, "schedule") << "waking up routine " << waiter->id << " because routine " << waitee->id << " is blocked" << end(); +523 ¦ ¦ trace("schedule") << "waking up routine " << waiter->id << " because routine " << waitee->id << " is blocked" << end(); 524 ¦ ¦ waiter->state = RUNNING; 525 ¦ ¦ waiter->waiting_on_routine_to_block = 0; 526 ¦ } -- cgit 1.4.1-2-gfad0