Adaptable Fault Tolerance for Real-Time Systems