Research In Motion
The operating system is an essential component of the system software in any conventional system that even includes Real-Time System (RTS) and the OS running on RTS referred to as RTOS. But, in case of real-time systems, the time at which output produced is of major concern, especially in case of Hard RTS the deadlines are to be met strictly, failure of which leads to disasters. Multi-tasking, one of the major attribute of OS involves context-switching. The switching between tasks involves saving the context of the current running task in to the stack and restoring the context of the task to be executed.