To prevent a user program from getting stuck in an infinite loop or not calling system services and never returning control to the OS, a timer is used. A timer can be set to interrupt the computer after a specified period.
Transition from User to Kernel Mode
![Transition from User to Kernel Mode](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqeh9ct8DVp_Iu96RfHPOLdYSHyVplRPGurw2S1CUYigEiVuMQQ1P4YZJ_rHWF4ZDtSLyv-ffWUpZb7cLs3G4wCSygOo9UwopjQka3aT_9x4MF_GowctddJkNv96MoppYXCOosO4h1mzI/s400/Operating+Systems+-+Transition+from+kernel+to+user+mode.bmp)
No comments:
Post a Comment