what is the difference between thread and process in operating system?
Both processes and threads are independent sequences of execution. The typical difference is that threads (of the same process) run in a shared memory space, while processes run in separate memory spaces. ... A process is an execution of a program but a thread is a single execution sequence within the process.