in Operating System edited by
404 views
0 votes
0 votes

The primary difference between process and thread?

  1.   The number of I/O requests mode.
  2.   The amount of overhead associated with creation and context switching
  3.   The amount of memory allocation
  4.   The average number of instructions executed
in Operating System edited by
404 views

2 Answers

1 vote
1 vote
Option 2 is correct.

Creation of thread is much easier than creation of process.

Similarly Memory Space is create for each process individual.

Where as Thraed shares Memory spaces
0 votes
0 votes

 

(2) The amount of overhead associated with creation and context switching .…

 

Process takes more time for creation, whereas Thread takes less time for creation. Process likely takes more time for context switching whereas as Threads takes less time for context switching....

Process does not share data, and Threads share data with each other.…

 

1. https://gateoverflow.in/181091/Threads 

 

by

Related questions