Difference between a thread and process

Posted by Techie Cocktail | 12:25 AM | | 1 comments »

Below are some differences:

Process
a. A process is like an individual executing program having its own memory space & system resources.
b. Process has its own seperate memory space.
c. A process can contain a number of threads.

Thread
a. Thread are like an OS environment features which run in the context of a process. Threads are way to split different tasks of a program to improve performance.
b. Threads share resources of the process in which they resides.
c. Threads are contained within the process. Reverse is never possible.

1 comments

  1. Cindy Dy // January 8, 2016 at 10:34 PM  

    This is just the information I am finding everywhere. Thanks you, I just subscribe your blog.


    Yong
    www.gofastek.com