- Multitasking operating systems come in two flavors: cooperative multitasking and preemptive multitasking
- preemptive multitasking
- The act of involuntarily suspending a running process is called preemption.
- Linux, like all Unix variants and most modern operating systems, provides preemptive multitasking.
- The time a process runs before it is preempted is predetermined, and it is called the timeslice of the process.
- cooperative multitasking
- The process does not stop running until it voluntary decides to do so.
- The act of a process voluntarily suspending itself is called yielding.
- I/O-Bound Versus Processor-Bound Processes
- runqueues