Providing QoS by Scheduling Interrupt Threads