Intel Corporation interview question

Designing a method to handle interupts