A hybrid technique for soft error mitigation in interrupt-driven applications