#Kernel retrieve timeslice used codeSome critical sections of code protect themselves from con currency problems by disabling interrupts before entering the critical section and re-enabling interrupts on exiting the section.Most modern UNIXes deal with this problem by making the process wait until the system call has either completed or blocked before allowing the preemption Unfortunately this solution is problematic for real-time systems, as real-time response can no longer be guaranteed. updating critical kernel data structures ) when the preemption occurs. Preemption can also be a problem if the kernel is busy implementing a system call ( e.g.Chapter 5 examined this issue in greater detail. Note that pre-emptive scheduling can cause problems when two processes share data, because one process may get interrupted in the middle of updating shared data structures.Note that pre-emptive scheduling is only possible on hardware that supports a timer interrupt. Macs used non-preemptive prior to OSX, and pre-emptive since then. #Kernel retrieve timeslice used windows
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |