120k views
15 votes
Differentiate between threads and processes

User Oscar LT
by
4.6k points

1 Answer

9 votes

Answer:

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.

Step-by-step explanation:

User Kankaristo
by
5.7k points