For many operating systems ( OS ) , the OS code is programmed so that devices are serviced as soon as the device 's interrupt handler is executed . For many operating systems , devices are serviced as soon as the device 's interrupt handler is executed .