What if the interrupts were already disabled when the function was called? E.g an interrupt handler wants to get the current msec tick.