AI engineering glossary · Computing foundations

What is thread?

Thread: A unit of execution within a process. Threads of one process share the same memory, so they communicate easily but can also interfere with each other, which makes shared data need careful protection.

Level: intermediateTopic: Computing foundations

Thread: an example

A web scraper can start 10 threads within one process so that one thread's wait for a slow site does not block the rest.

Related terms

More Computing foundations terms

Where you learn it

Thread is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.