- Information
- AI Chat
Was this document helpful?
Process management
Course: Software Engineering (CSPC 111)
140 Documents
Students shared 140 documents in this course
University: STI West Negros University
Was this document helpful?
Process management
Real-time systems have to handle external events quickly and, in some cases, meet
deadlines for processing these events. The event-handling processes must therefore be
scheduled for execution in time to detect the event. They must also be allocated
sufficient processor resources to meet their deadline. The process manager in an RTOS
is responsible for choosing processes for execution, allocating processor and memory
resources, and starting and stopping process execution on a processor.
The process manager has to manage processes with different priorities. For some
stimuli, such as those associated with certain exceptional events, it is essential that their
processing should be completed within the specified time limits. Other processes may
be safely delayed if a more critical process requires service. Consequently, the RTOS
has to be able to manage at least two priority levels for system processes:
1. Clock level
This level of priority is allocated to periodic processes.
2. Interrupt level
This is the highest priority level. It is allocated to processes that need a
very fast response. One of these processes will be the real-time clock
process. This process is not required if interrupts are not supported in the
system.
A further priority level may be allocated to background processes (such as a self-
checking process) that do not need to meet real-time deadlines. These processes are
scheduled for execution when processor capacity is available.