spelling R=r OCL=23602 CL=23602
diff --git a/src/runtime/chan.c b/src/runtime/chan.c index 6f89fa3..7e6f830 100644 --- a/src/runtime/chan.c +++ b/src/runtime/chan.c
@@ -5,7 +5,6 @@ #include "runtime.h" static int32 debug = 0; -static int32 xxx = 0; static Lock chanlock; typedef struct Hchan Hchan; @@ -548,7 +547,7 @@ G *gp; byte *as; - if(xxx) { + if(debug) { prints("selectgo: sel="); sys·printpointer(sel); prints("\n"); @@ -697,7 +696,7 @@ goto loop; } - if(xxx) { + if(debug) { prints("wait-return: sel="); sys·printpointer(sel); prints(" c="); @@ -747,7 +746,7 @@ gotr: // recv path to wakeup the sender (sg) - if(xxx) { + if(debug) { prints("gotr: sel="); sys·printpointer(sel); prints(" c="); @@ -765,7 +764,7 @@ gots: // send path to wakeup the receiver (sg) - if(xxx) { + if(debug) { prints("gots: sel="); sys·printpointer(sel); prints(" c=");
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 78e2aff..c63512d 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h
@@ -238,7 +238,7 @@ }; /* - * defered subroutine calls + * deferred subroutine calls */ struct Defer {