Program vs Process vs Thread

||
Posted 1ย month, 3ย weeks ago
||
Views 35
||
1 min read
0 reactions

Main differences between process and thread:

๐Ÿ”น Processes are usually independent, while threads exist as process subsets.
๐Ÿ”น Each process has its own memory space. Threads that belong to the same process share the same memory.
๐Ÿ”น A process is a heavyweight operation. It takes more time to create and terminate. 
๐Ÿ”น Context switching is more expensive between processes.
๐Ÿ”น Inter-thread communication is faster for threads.


0 reactions

Discussion


Looking for Freelancing Jobs
Joined on April 15, 2020


Latest Videos


Wanna Post Ad?
Reach a large group of audience by posting an ad about your business here. For more details
Drop us a Message