Britannica AI Icon

Quick Summary

In computer science, a "thread" refers to a single sequence of execution within a program. Multiple threads can run concurrently within a single process, allowing a program to perform several tasks seemingly at the same time. This is different from parallel computing, where multiple processors execute tasks simultaneously.1

Think of a thread as a pathway for instructions. A program can have many threads, each following its own path. This allows for efficient multitasking, such as when a program is downloading a file while remaining responsive to user input. The term "thread" can also refer to a series of connected messages on a digital platform, following a single topic.123

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.