waking up all threads from the timer interrupt