what is the difference between thread and process
Answers
Answered by
2
A process is a program under execution i.e an active program. A thread is a lightweight process that can be managed independently by a scheduler. Processes require more time for context switching as they are more heavy. Threads require less time for context switching as they are lighter than processes
Answered by
1
PROCESS
A process, in the simplest terms, is an executing program. One or more threads run in the context of the process.
____________________________________________________________
THREAD
A thread is the basic unit to which the operating system allocates processor time. A thread can execute any part of the process code, including parts currently being executed by another thread.
Similar questions
Computer Science,
3 months ago
Math,
3 months ago
History,
7 months ago
India Languages,
7 months ago
Math,
11 months ago
Math,
11 months ago
English,
11 months ago