diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-18 10:44:40 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-18 10:44:40 -0700 |
commit | 5813bcfc7d5c368514554d712da45584b5114f0b (patch) | |
tree | 09a68f2b2be114d962c8db1ff500c34ee982303d /073wait.cc | |
parent | c83f3bca47b1538ce469fc4463d6165156735675 (diff) | |
download | mu-5813bcfc7d5c368514554d712da45584b5114f0b.tar.gz |
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.
Diffstat (limited to '073wait.cc')
-rw-r--r-- | 073wait.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |