Chapter6 RTOS Intro - Processes and Operating Systems(Text...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Processes and Operating Systems (Text: Chapter 6) Multiple tasks and multiple processes. Resource management Scheduling Interprocess communication Performance Preemptive real-time operating systems (RTOSs) Book examples based on FreeRTOS.org kernel Processes and UML.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Reactive systems © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Respond to external events. Engine controller. Seat belt monitor. Requires real-time response. System architecture. Program implementation. May require a chain reaction among multiple processors.
Image of page 2
Tasks and processes © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. A task is a functional description of a connected set of operations. (Task can also mean a collection of processes.) A process is a unique execution of a program. Several copies of a program may run simultaneously or at different times. A process has its own state: registers; memory. The operating system manages processes.
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Why multiple processes? Processes help us manage timing complexity: multiple & variable data/execution rates multimedia (compressed vs uncompressed) automotive systems asynchronous input user interfaces - activated at random times (buttons, etc.) communication systems Process may have required period/rate periods/rates differ between processes depending on computational needs and deadlines
Image of page 4
Example: engine control Tasks: spark control crankshaft sensing fuel/air mixture oxygen sensor Kalman filter state machine gas pedal engine controller
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon