Fix the bug in the RB tree, and sanity test for the timer API
This commit is contained in:
@@ -95,8 +95,7 @@ int timer_handle_signal(siginfo_t *info)
|
||||
|
||||
// LG: To many traces for msc timer:
|
||||
TMR_DEBUG("Timer with id 0x%lx has expired\n", (long)timer_p->timer);
|
||||
printf("Timer with id 0x%lx has expired\n", (long)timer_p->timer);
|
||||
|
||||
|
||||
task_id = timer_p->task_id;
|
||||
instance = timer_p->instance;
|
||||
message_p = itti_alloc_new_message(TASK_TIMER, TIMER_HAS_EXPIRED);
|
||||
@@ -210,11 +209,6 @@ int timer_setup(
|
||||
type == TIMER_PERIODIC ? "periodic" : "single shot",
|
||||
*timer_id, interval_sec, interval_us);
|
||||
|
||||
printf("Requesting new %s timer with id 0x%lx that expires within "
|
||||
"%d sec and %d usec\n",
|
||||
type == TIMER_PERIODIC ? "periodic" : "single shot",
|
||||
*timer_id, interval_sec, interval_us);
|
||||
|
||||
timer_p->timer = timer;
|
||||
|
||||
/* Lock the queue and insert the timer at the tail */
|
||||
|
||||
Reference in New Issue
Block a user