problem with real-time scheduling