diff options
author | John Kohl <jtkohl@mit.edu> | 1987-07-09 01:43:10 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-07-09 01:43:10 +0000 |
commit | f1e93aafe03b46dc803f3f14f5f7928f12ad704b (patch) | |
tree | 0523bc9cac5bd6ab191445b484ff6538d5a7af6b /server/timer.c | |
parent | ec085e867825d2f5d74f077854fada6f94757ff5 (diff) |
rip out debugging code
Diffstat (limited to 'server/timer.c')
-rw-r--r-- | server/timer.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/server/timer.c b/server/timer.c index 7a429b3..45a3734 100644 --- a/server/timer.c +++ b/server/timer.c @@ -94,7 +94,6 @@ timer timer_set_rel (time_rel, proc, arg) ALARM_PREV(new_t) = NULL; ALARM_ARG(new_t) = arg; add_timer(new_t); - zdbug((LOG_DEBUG,"timer_set_rel()'ing 0x%x",new_t)); return(new_t); } @@ -122,7 +121,6 @@ timer timer_set_abs (time_abs, proc, arg) ALARM_PREV(new_t) = NULL; ALARM_ARG(new_t) = arg; add_timer(new_t); - zdbug((LOG_DEBUG,"timer_set_abs()'ing 0x%x",new_t)); return(new_t); } @@ -148,7 +146,6 @@ timer_reset(tmr) zdbug((LOG_DEBUG,"timer_reset of timer head\n")); abort(); } - zdbug((LOG_DEBUG,"timer_reset()'ing 0x%x",tmr)); xremque(tmr); ALARM_PREV(tmr) = NULL; ALARM_NEXT(tmr) = NULL; @@ -158,7 +155,6 @@ timer_reset(tmr) abort(); } nexttimo = ALARM_TIME(ALARM_NEXT(timers)); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); return; } @@ -211,13 +207,11 @@ insert_timer(new_t) if (ALARM_TIME(t) > ALARM_TIME(new_t)) { xinsque(new_t, ALARM_PREV(t)); nexttimo = ALARM_TIME(ALARM_NEXT(timers)); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); return; } } xinsque(new_t, ALARM_PREV(timers)); nexttimo = ALARM_TIME(ALARM_NEXT(timers)); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); return; } @@ -235,7 +229,6 @@ timer_process() caddr_t queue_arg; int valid = 0; - zdbug((LOG_DEBUG,"timer_process")); right_now = NOW; t=ALARM_NEXT(timers); if (t != timers && right_now >= ALARM_TIME(t)) { @@ -261,10 +254,8 @@ timer_process() is set to 0L, which is what the main loop expects as the nexttimo when we have no timout work to do */ nexttimo = ALARM_TIME(t); - zdbug((LOG_DEBUG,"nexttimo %d", nexttimo)); if (valid) { - zdbug((LOG_DEBUG,"firing 0x%x(0x%x)", queue, queue_arg)); (queue)(queue_arg); } return; |