Concurrent C for real-time programming