![]() |
|
|
| |
|
||||
Pre-emptive multitasking is a form of multitasking in which processes are not allowed to take an indefinitely long time to complete execution in the CPU. Each process, in turn, is granted a portion of CPU time (usually called a time slice, on the order of milliseconds). A process which does not relinquish the CPU voluntarily within its time slice is forcibly context-switched with the next process in scheduling queue. Context-switching can usually happen for many different reasons. Some common reasons are:
Some OSes permit processes to deny pre-emption for a period of time. e.g. AmigaOS would permit a process to refuse to context-switch in order to read system data structures that might be altered by other processes. Some OSes always forbid lower priority processes to pre-empt higher priority processes. Some OSes allow it occasionally. See scheduling. Because this all happens at extreme high speed, the computer appears to be doing many things at the same time. de:Präemptives Multitasking fr:Multitâche préemptif
|
|
|
|
|
|
|
|
Copyright 2008 WordIQ.com - Privacy Policy
::
Terms of Use
:: Contact Us
:: About Us This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Pre-emptive multitasking". |