Qualcomm interview question

How are interrupts handled in RTOS?