Thread
Noun · Development
Definitions
The smallest unit of execution that an operating system can schedule. Threads within a process share memory space, enabling parallel execution but requiring synchronization to avoid data races.
In plain English: A single sequence of instructions that the computer can run, sharing memory with other threads in the same program so they can work together (or step on each other's toes).
Example: "We spawned a thread pool of 16 workers to handle the incoming connections."
Related Terms
- Parallelism
- Signal
- Task Parallelism
- Web Worker
- Context Switch
- Page Fault
- Lock-Free Data Structure
- Thread Pool
- Work Stealing
- Concurrency Control
- Concurrency Model
- Concurrency Pattern
- Lock Contention
- Multi-Threading
- Non-Blocking
- Parallel Processing
- Pool
- Resource Pool
- Synchronization Primitive
- Thread Starvation
- Worker Pool
- Concurrency Limit