Cleanup: remove debug code form urcu-defer.c
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 23 Sep 2009 17:34:31 +0000 (13:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 23 Sep 2009 17:34:31 +0000 (13:34 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-defer.c

index 5e4650ff003b4c8d97ff0fb240a0d14fa4d8660a..032900db58ce00446a7ecdc2b62335f20a1edff8 100644 (file)
@@ -289,21 +289,15 @@ void *thr_defer(void *args)
 {
        for (;;) {
                pthread_testcancel();
-               printf("a\n");
                /*
                 * "Be green". Don't wake up the CPU if there is no RCU work
                 * to perform whatsoever. Aims at saving laptop battery life by
                 * leaving the processor in sleep state when idle.
                 */
-               printf("b\n");
                wait_defer();
-               printf("e\n");
                /* Sleeping after wait_defer to let many callbacks enqueue */
-               //TEST poll(NULL,0,100);        /* wait for 100ms */
-               printf("f\n");
+               poll(NULL,0,100);       /* wait for 100ms */
                rcu_defer_barrier();
-               printf("perform deferred call_rcu() from worker thread %lu.\n",
-                       time(NULL));
        }
 
        return NULL;
This page took 0.026375 seconds and 4 git commands to generate.