What is the difference between thread and process?
The thread is a path of execution which can run on CPU; a process is a collection of threads that share the same virtual memory. The process has atleast one thread of the execution, and a thread always run in a process context.