What is the difference between a process and a thread?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Amsterdam, Lives in Amsterdam, Netherlands.
Threads are used for small tasks, whereas processes are used for more 'heavyweight' tasks -C basically the execution of applications. Another difference between a thread and a process is that threads within the same process share the same address space, whereas different processes do not.
2023-05-11 06:20:49
评论(499)
Helpful(122)
Helpful
Helpful(2)

Alexander Wright
QuesHub.com delivers expert answers and knowledge to you.
Threads are used for small tasks, whereas processes are used for more 'heavyweight' tasks -C basically the execution of applications. Another difference between a thread and a process is that threads within the same process share the same address space, whereas different processes do not.