Interview question: Describe the difference between a Thread and a Process?
A thread can do anything a process can do. But since a process can consist of multiple threads, a thread could be considered a ‘lightweight’ process. So the essential difference between a thread and a process is the work that each one is used to accomplish. Threads are used for small tasks, whereas processes are…
Read More “Interview question: Describe the difference between a Thread and a Process?” »