while applying the timeval changes, i noticed that pbx_dundi.c
is full of busy-wait loops of the form
while (!some_condition) {
usleep(1);
}
could someone comment how one avoids that this code eats 100% of the
CPU and how high the risk is ?
thanks
luigi