pth: Remove fun debugging comment
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Jan 2017 16:35:48 +0000 (11:35 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:31:09 +0000 (12:31 -0500)
You actually might see this, if ipconfig's output isn't redirected.  (Saw
this during a bug hunt).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/pthread/pthread.c

index 5a3213b..5d01b54 100644 (file)
@@ -252,9 +252,6 @@ static void pth_thread_has_blocked(struct uthread *uthread, int flags)
         * mostly communicating to our future selves in pth_thread_runnable(), which
         * gets called by whoever triggered this callback */
        pthread->state = PTH_BLK_MUTEX;
-       /* Just for yucks: */
-       if (flags == UTH_EXT_BLK_JUSTICE)
-               printf("For great justice!\n");
 }
 
 static void __signal_and_restart(struct uthread *uthread,