How do threads work?

How do threads work?
Answer
A thread is the unit of execution within a process. … Each thread in the process shares that memory and resources. In single-threaded processes, the process contains one thread. The process and the thread are one and the same, and there is only one thing happening.
 

Tìm kiếm

Back
Top