Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Engineering Concepts (http://www.go4expert.com/forums/engineering-concepts/)
-   -   What is the difference between a computer process and thread? (http://www.go4expert.com/forums/difference-computer-process-thread-t10643/)

aspguy 16May2008 17:44

What is the difference between a computer process and thread?
 
What is the difference between a computer process and thread?

shabbir 16May2008 21:49

Re: What is the difference between a computer process and thread?
 
By definition process will execute the threads(set of instructions), which may contain multiple threads but the other way is not true.

Also different processes can't work under same memory location i.e. threads ca share resource but sharing of processes resources is not that easy.

mialuzzatto 25Nov2015 16:59

Re: What is the difference between a computer process and thread?
 
Hello,

Threads are used for small tasks, whereas processes are used for more 'heavyweight' tasks – basically the execution of applications. Another difference between a thread and a process is that threads within the same process share the same address space, whereas different processes do not.

tutorsweb 18Jan2016 12:03

Re: What is the difference between a computer process and thread?
 
A process is a program in execution, whereas a thread is a path of execution within a process. Processes are generally used to execute large, ‘heavyweight’ jobs such as running different applications, while threads are used to carry out much smaller or ‘lightweight’ jobs such as auto saving a document in a program, downloading files, etc.


All times are GMT +5.5. The time now is 12:59.