• Home
  • Textbooks
  • Real-Time Systems and Programming Languages: Ada, Real-Time Java and C/Real-Time POSIX
  • Programming schedulable systems

Real-Time Systems and Programming Languages: Ada, Real-Time Java and C/Real-Time POSIX

Alan Burns, Andy Wellings

Chapter 12

Programming schedulable systems - all with Video Answers

Educators


Chapter Questions

Problem 1

A real-time systems designer wishes to run a mixture of safety-critical, missioncritical and non-critical periodic and sporadic Ada tasks on the same processor. He or she is using preemptive priority-based scheduling and has used the response time analysis equation to predict that all tasks meet their deadlines. Give reasons why the system might nevertheless fail to meet its deadlines at run-time. What enhancements could be provided to the Ada run-time support systems to help eliminate the problems?

Check back soon!

Problem 2

Ada allows the base priority of a task to be set dynamically. Using the Ada. Dynamic.Priorities package, show how to implement a mode change protocol where a group of tasks must have their priorities changed as a single atomic operation.

Check back soon!

Problem 3

Explain the pros and cons of supporting dynamic ceiling priorities.

Check back soon!

Problem 4

Show how earliest deadline first scheduling can be implemented in Réal-Time Java with a feasibility test of total process utilization less that $100 \%$.

Check back soon!