Soft and hard real time systems. Real time scheduling: scheduling for periodic tasks, priority-driven scheduling, resource access control. Algorithms: Earliest deadline first, rate monotonic, deadline monotonic. Priority inversion problem.