Theoretical Model

Single CPU

Multiple CPUs

Other Threads

Takeaways

  • The OS is in Control
  • We cannot predict or control:
    • When a thread will run
    • How long a thread will run
    • When a thread will be interrupted
  • We must plan for all scenarios