Sobes.tech
Junior

What is a thread in the context of programming?

sobes.tech AI

Answer from AI

A thread is the smallest unit of execution within a process. A process can contain one or more threads that share its address space and resources such as memory and open file descriptors. Threads enable concurrent execution of multiple tasks within a single process.