Abstract


Mechanism


  1. Causes Process (进程) to temporarily suspend
  2. Save its Register on the Stack
  3. When Interrupt Handler is done, the running Process (进程) is restarted in the state it was in just before the signal

Benefits


Better Security

  • Programs in User Space switching themselves is dangerous
  • With Software Interrupt, the CPU is preconfigured by OS with where in the OS code to jump to

Examples


Alarm Signal