Disabling interrupts disables ALL interrupts, not just some of them. This includes the timer interrupt, which is what normally allows a running thread to be preempted.
While interrupts are disabled, nothing (short of something crazy like a CPU exception) can interrupt your code from running, start to finish, on a single CPU.