encyclopegia.org

Virtual thread

In computer programming, a virtual thread is a thread that is managed by a runtime library or virtual machine (VM) and made to resemble a kernel thread to code executing on it, while requiring substantially fewer resources than the latter. Virtual threads allows for tens of millions of preemptive tasks and events on a 2021 consumer-grade computer, compared to low thousands of operating system threads. Preemptive execution is important to performance gains through parallelism and fast preemptive response times for tens of millions of events. Earlier constructs that are not or not always preemptive, such as coroutines, green threads or the largely single-threaded Node.js, introduce delays in responding to asynchronous events such as every incoming request in a server application.

In computer programming, a virtual thread is a thread that is managed by a runtime library or virtual machine (VM) and made to resemble a kernel thread to code executing on it, while requiring substantially fewer resources than the latter. Virtual threads allows for tens of millions of preemptive tasks and events on a 2021 consumer-grade computer, compared to low thousands of operating system threads. Preemptive execution is important to performance gains through parallelism and fast preemptive response times for tens of millions of events. Earlier constructs that are not or not always preemptive, such as coroutines, green threads or the largely single-threaded Node.js, introduce delays in responding to asynchronous events such as every incoming request in a server application.

References

No reference rows published for this article.

Cite this article

MLA

"Virtual thread." encyclopegia.org, 2026, https://encyclopegia.org/wiki/virtual-thread. Accessed 24 November 2026.

Chicago

"Virtual thread." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/virtual-thread.

APA

encyclopegia.org. (2026). Virtual thread. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/virtual-thread

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

Related articles

Zhou Youping

enwiki · references available

Denis J. Hickie

enwiki · references available

Duang Jai Nai Montra

enwiki · references available

Gothenburg Mixed Doubles Cup

enwiki · references available

Geophilus glaber

enwiki · references available

Harworth (Bassetlaw electoral ward)

enwiki · references available

1981 Torneo Godó – Singles

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

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.