Preemptive Operating System Flashcards
(137 cards)
What are 3 characteristics of reactive systems?
respond to external events, require real-time responses, and may require chain reaction among multiple processors
What is most important in an embedded system?
time
What is a task?
a functional description of a connected set of operations (can also mean a collection of processes)
What is a process?
a unique execution of a program
True or false: Only one copy of a program may run at one time?
false, several copies may run simultaneously or at different times
Fill in the blank: A process has its own _______.
state (registers, memory)
What manages processes?
the operating system
What does multiple tasks mean?
multiple processes
What do processes help with?
timing complexity
How do processes help with timing complexity?
multiple rates and asynchronous input
In multi-rate systems are tasks asynchronous or synchronous?
they can be both
Can synchronous tasks recur at different rates?
yes
Processes run at different rates based on what?
computational needs of tasks
What is an example of tasks with differing rate requirements?
in engine control: spark control, crankshaft sensing, fuel/air mixture, oxygen sensor, and Kalman filter
How do real-time systems conform to external timing constraints?
performing computations
What are the 2 types of deadline frequencies?
periodic and aperiodic
What are 3 types of deadlines?
hard, soft, and firm
What is a hard deadline?
failure to meet deadline causes system failure
What is a soft deadline?
failure to meet deadline causes degraded response
What is a firm deadline?
late response is useless but some late responses can be tolerated
What is an example of a hard deadline application?
braking system control
What are examples of soft deadline applications?
web browsing, video loading
What are examples of firm deadline applications?
video conferencing, satellite-based surveillance
What is the release time?
the time at which the process becomes ready