Jump to content
Posted 25 May 2012 - 07:24 AM
Posted 25 May 2012 - 09:07 AM
But how does the Scheduler actually interrupt the application when it has full control?
Is there a timer that interrupts the CPU every 10ms unless it is reset, triggering some Scheduler code?
Does the OS before launching a new thread set the CPU to operate in "user mode" limiting some instructions?
How does the application allocate memory without hazard, through the memory controller?
How can the OS restrict the application to its own address space, user mode, can't the application disable "user mode" itself?
Posted 25 May 2012 - 01:34 PM