Question: Explain the difference between process and thread.Answer: A process is an independent program with its memory space, while a thread is a lightweight unit of a process sharing the same memory space.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is the difference between a stack and a queue?
- What is the purpose of an index in a database?
- What is the purpose of the \'git\' version control system?