encyclopegia.org

Preemption (computing)

In computing, preemption is the act performed by an external scheduler — without assistance or cooperation from the task — of temporarily interrupting an executing task, with the intention of resuming it at a later time. This preemptive scheduler usually runs in the most privileged protection ring, meaning that interruption and then resumption are considered highly secure actions. Such changes to the currently executing task of a processor are known as context switching.

In computing, preemption is the act performed by an external scheduler — without assistance or cooperation from the task — of temporarily interrupting an executing task, with the intention of resuming it at a later time. This preemptive scheduler usually runs in the most privileged protection ring, meaning that interruption and then resumption are considered highly secure actions. Such changes to the currently executing task of a processor are known as context switching. == Preemptive multitasking == The term preemptive multitasking is used to distinguish a multitasking operating system, which permits preemption of tasks, from a cooperative multitasking system wherein processes or tasks must be explicitly programmed to yield when they do not need system resources. In simple terms: Preemptive multitasking involves the use of an interrupt mechanism which suspends the currently executing process and invokes a scheduler to determine which process should execute next. Therefore, all processes will get some amount of CPU time at any given time. In preemptive multitasking, the operating system kernel can also initiate a context switch to satisfy the scheduling policy's priority constraint, thus preempting the active task. In general, preemption means "prior seizure of". When the high-priority task at that instance seizes the currently running task, it is known as preemptive scheduling. The term "preemptive multitasking" is sometimes mistakenly used when the intended meaning is more specific, referring instead to the class of scheduling policies known as time-shared scheduling, or time-sharing. Preemptive multitasking allows the computer system to more reliably guarantee each process a regular "slice" of operating time. It also allows the system to rapidly deal with important external events like incoming data, which might require the immediate attention of one or another process. At any specific time, processes can be grouped into two categories: those that are waiting for input or output (called "I/O bound"), and those that are fully utilizing the CPU ("CPU bound"). In early systems, processes would often "poll" or "busy-wait" while waiting for requested input (such as disk, keyboard or network input). During this time, the process was not performing useful work, but still maintained complete control of the CPU. With the advent of interrupts and preemptive multitasking, these I/O bound processes could be "blocked", or put on hold, pending the arrival of the necessary data, allowing other processes to utilize the CPU. As the arrival of the requested data would generate an interrupt, blocked processes could be guaranteed a timely return to execution. Although multitasking techniques were originally developed to allow multiple users to share a single machine, it became apparent that multitasking was useful regardless of the number of users. Many operating systems, from mainframes down to single-user personal computers and no-user control systems (like those in robotic spacecraft), have recognized the usefulness of multitasking support for a variety of reasons. Multitasking makes it possible for a single user to run multiple applications at the same time, or to run "background" processes while retaining control of the computer.

References

  1. Realtime scheduling in SunOS 5.0 · retrieved 2026-11-17 · rev 1375542997
    Cite this reference

    MLA "Realtime scheduling in SunOS 5.0." Khanna, S. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1375542997. Accessed 24 November 2026.

    Chicago "Realtime scheduling in SunOS 5.0." Khanna, S. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1375542997.

    APA Khanna, S. (2026). Realtime scheduling in SunOS 5.0. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1375542997

  2. Release notes for v2.5.4 · retrieved 2021-07-02 · rev 1375542997
    Cite this reference

    MLA "Release notes for v2.5.4." "Release notes for v2. 2021-07-02. https://cdn.kernel.org/pub/linux/kernel/v2.5/ChangeLog-2.5.4. Accessed 24 November 2026.

    Chicago "Release notes for v2.5.4." "Release notes for v2. 2021-07-02. https://cdn.kernel.org/pub/linux/kernel/v2.5/ChangeLog-2.5.4.

    APA "Release notes for v2. (2021). Release notes for v2.5.4. Retrieved November 24, 2026, from https://cdn.kernel.org/pub/linux/kernel/v2.5/ChangeLog-2.5.4

  3. Re: newbie question: What is a Blue Task · retrieved 2007-03-28 · rev 1375542997
    Cite this reference

    MLA "Re: newbie question: What is a Blue Task." 2007-03-28. https://web.archive.org/web/20071013225430/http://lists.apple.com/archives/Mt-smp/2001/May/msg00007.html. Accessed 24 November 2026.

    Chicago "Re: newbie question: What is a Blue Task." 2007-03-28. https://web.archive.org/web/20071013225430/http://lists.apple.com/archives/Mt-smp/2001/May/msg00007.html.

    APA encyclopegia.org. (2007). Re: newbie question: What is a Blue Task. Retrieved November 24, 2026, from https://web.archive.org/web/20071013225430/http://lists.apple.com/archives/Mt-smp/2001/May/msg00007.html

  4. a b Tanenbaum, Andrew (2015). Modern operating systems . Boston: Pearson. ISBN 978-0-13-359162-0 . OCLC 870646449 . Wikipedia revision 1375542997, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1375542997
    Cite this reference

    MLA "a b Tanenbaum, Andrew (2015). Modern operating systems . Boston: Pearson. ISBN 978-0-13-359162-0 . OCLC 870646449 . Wikipedia revision 1375542997, retrieved 2026-11-18." a b Tanenbaum, Andrew (2015). 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.

    Chicago "a b Tanenbaum, Andrew (2015). Modern operating systems . Boston: Pearson. ISBN 978-0-13-359162-0 . OCLC 870646449 . Wikipedia revision 1375542997, retrieved 2026-11-18." a b Tanenbaum, Andrew (2015). 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).

    APA a b Tanenbaum, Andrew (2015). (2026). a b Tanenbaum, Andrew (2015). Modern operating systems . Boston: Pearson. ISBN 978-0-13-359162-0 . OCLC 870646449 . Wikipedia revision 1375542997, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)

  5. How 16-Bit and 32-Bit Programs Multitask in Windows 95 (Q117567) · retrieved 2008-01-16 · rev 1375542997
    Cite this reference

    MLA "How 16-Bit and 32-Bit Programs Multitask in Windows 95 (Q117567)." 2008-01-16. https://web.archive.org/web/20080117085655/http://support.microsoft.com/kb/117567. Accessed 24 November 2026.

    Chicago "How 16-Bit and 32-Bit Programs Multitask in Windows 95 (Q117567)." 2008-01-16. https://web.archive.org/web/20080117085655/http://support.microsoft.com/kb/117567.

    APA encyclopegia.org. (2008). How 16-Bit and 32-Bit Programs Multitask in Windows 95 (Q117567). Retrieved November 24, 2026, from https://web.archive.org/web/20080117085655/http://support.microsoft.com/kb/117567

  6. Pennell, Andrew (1985). The Sinclair QDOS Companion . Sunshine Books. ISBN 978-0-946408-69-6 . Retrieved 12 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1375542997
    Cite this reference

    MLA "Pennell, Andrew (1985). The Sinclair QDOS Companion . Sunshine Books. ISBN 978-0-946408-69-6 . Retrieved 12 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18." Pennell, Andrew (1985). 2026-11-17. https://archive.org/details/sinclairqdoscomp0000penn/mode/2up. Accessed 24 November 2026.

    Chicago "Pennell, Andrew (1985). The Sinclair QDOS Companion . Sunshine Books. ISBN 978-0-946408-69-6 . Retrieved 12 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18." Pennell, Andrew (1985). 2026-11-17. https://archive.org/details/sinclairqdoscomp0000penn/mode/2up.

    APA Pennell, Andrew (1985). (2026). Pennell, Andrew (1985). The Sinclair QDOS Companion . Sunshine Books. ISBN 978-0-946408-69-6 . Retrieved 12 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18. Retrieved November 24, 2026, from https://archive.org/details/sinclairqdoscomp0000penn/mode/2up

  7. Dynamic Uno · retrieved 2026-11-17 · rev 1375542997
    Cite this reference

    MLA "Dynamic Uno." Downard, Dan (September 1983). 2026-11-17. https://archive.org/details/198309Rainbow/page/236/mode/2up. Accessed 24 November 2026.

    Chicago "Dynamic Uno." Downard, Dan (September 1983). 2026-11-17. https://archive.org/details/198309Rainbow/page/236/mode/2up.

    APA Downard, Dan (September 1983). (2026). Dynamic Uno. Retrieved November 24, 2026, from https://archive.org/details/198309Rainbow/page/236/mode/2up

  8. 1984 TRS-80 Catalog . Tandy Corporation. 1984. pp. 53– 54 . Retrieved 14 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1375542997
    Cite this reference

    MLA "1984 TRS-80 Catalog . Tandy Corporation. 1984. pp. 53– 54 . Retrieved 14 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18." TRS-80 Catalog. 2026-11-17. https://archive.org/details/RSC-11_Computer_Catalog_1984_Radio_Shack_a/page/n52/mode/1up. Accessed 24 November 2026.

    Chicago "1984 TRS-80 Catalog . Tandy Corporation. 1984. pp. 53– 54 . Retrieved 14 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18." TRS-80 Catalog. 2026-11-17. https://archive.org/details/RSC-11_Computer_Catalog_1984_Radio_Shack_a/page/n52/mode/1up.

    APA TRS-80 Catalog. (2026). 1984 TRS-80 Catalog . Tandy Corporation. 1984. pp. 53– 54 . Retrieved 14 May 2024 . Wikipedia revision 1375542997, retrieved 2026-11-18. Retrieved November 24, 2026, from https://archive.org/details/RSC-11_Computer_Catalog_1984_Radio_Shack_a/page/n52/mode/1up

Cite this article

MLA

"Preemption (computing)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/preemption-computing. Accessed 24 November 2026.

Chicago

"Preemption (computing)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/preemption-computing.

APA

encyclopegia.org. (2026). Preemption (computing). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/preemption-computing

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

'65 Love Affair

enwiki · references available

Ni Min-jan

enwiki · references available

Slouching Towards Gomorrah

enwiki · references available

Barrenjoey High School

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375542997 · 0.5 · snapshot enwiki-001375542997

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.