1.

How do you differentiate between process and thread?

Answer»
ProcessThread
The process is admitted as an occurrence of the computer program that is being executed.The thread is known as the COMPONENT of the process that is CONSIDERED the SMALLEST execution unit.
The process is not lightweightThreads are light-weighted
Creation of process takes more timeCreation of thread takes less time
The process does not share the dataThreads share the data with each other
In CONTEXT switching, the process takes more time.In context switching, the thread takes less time.


Discussion

No Comment Found