3.1 Threading model
When a runtime like Node.js, Deno, or Bun operates, it uses a specific threading model. This model defines the threads within the process and explains their roles. Understanding the threading model is essential when combined with the system's overall structure.
Deno's threading model is unique, using two types of threads: OS-aware and OS-unaware. This approach sets Deno apart and affects its behavior. In this chapter, we will explore the default threads created by Deno. We will also examine web workers and asynchronous operations, which impact the threading model.
By the end of the chapter, you will have a thorough understanding of these threads, their interactions, and their significance in Deno's threading framework.
Chapter contents
3.2 Default threading model3.3 Asynchronous green threadsLast updated