What is the difference between thread and process?
Thread - is used to execute more than one program at a time.
process - executes single program
A thread is a path of execution that run on CPU, a process is a collection of threads that share the similar virtual memory. A process has at least single thread of execution, and a thread always run in a process context.