The following is from http://en.wikipedia.org/wiki/Scheduling_(computing) ========================================================== Short-term Scheduler The short-term scheduler (also known as the dispatcher) decides which of the ready, in-memory processes are to be executed (allocated a CPU) next following a clock interrupt, an IO interrupt, an operating system call or another form of signal. Thus the short-term scheduler makes scheduling decisions much more frequently than the long-term or mid-term schedulers - a scheduling decision will at a minimum have to be made after every time slice, and these are very short. This scheduler can be preemptive, implying that it is capable of forcibly removing processes from a CPU when it decides to allocate that CPU to another process, or non-preemptive, in which case the scheduler is unable to "force" processes off the CPU. [Stallings, 396]. ========================================================== z/OS (MVS) uses a very complex preemptive dispatcher. Processes represented by TCBs, SRBs, etc. are scheduled to execute on a CP until interrupted by some event. There are many types of events, timer pops, I/O interrupts, page faults, etc. Privledged processes can run disabled (hopefully for only short periods of time), which can block most preemptive events.
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

