adspace
What is the Difference between a process and a thread?
Answer Posted / Lalan Babu
A process is an instance of a program that is currently being executed. It consists of its own memory space, set of open files, environment variables, etc. A thread, on the other hand, is a lightweight sub-process within a single program sharing the same memory space and resources as its parent process. Threads are used to execute multiple tasks simultaneously within the same process.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers