From 5813bcfc7d5c368514554d712da45584b5114f0b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 18 Oct 2016 10:44:40 -0700 Subject: 3520 Drop a few debug prints. Hopefully now we need never duplicate trace statements and can instead just dump them to screen. I'll soon need the ability to selectively dump traces for a specific label. --- 073wait.cc | 2 -- 1 file changed, 2 deletions(-) (limited to '073wait.cc') diff --git a/073wait.cc b/073wait.cc index 0f6266eb..122f4731 100644 --- a/073wait.cc +++ b/073wait.cc @@ -346,7 +346,6 @@ case WAIT_FOR_ROUTINE: { Current_routine->state = WAITING; Current_routine->waiting_on_routine = ingredients.at(0).at(0); trace(9998, "run") << "waiting for routine " << ingredients.at(0).at(0) << end(); -//? cerr << Current_routine->id << ": waiting for routine " << ingredients.at(0).at(0) << '\n'; break; } @@ -365,7 +364,6 @@ for (int i = 0; i < SIZE(Routines); ++i) { if (waitee->id == id && waitee->state != RUNNING && waitee->state != WAITING) { // routine is COMPLETED or DISCONTINUED trace(9999, "schedule") << "waking up routine " << waiter->id << end(); -//? cerr << id << " is now done (" << waitee->state << "); waking up waiting routine " << waiter->id << '\n'; waiter->state = RUNNING; waiter->waiting_on_routine = 0; } -- cgit 1.4.1-2-gfad0