compare and contrast an operating system supporting hard and soft real-time applications?