hi,
can anybody tell me what is the difference between a Thread and a Process?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Oct 21, 2011, 6:10 PM
Threads exist for a process; threads use / share the resources of the process. Resources include memory.
There are also domains, which I don't know much about but I assume they are between a thread and a process in terms of what they are. The thing I do know about them is that they make things really complicated to understand. Traditionally in Windows, a process has one and only on address space and an application has one and only one process. Now domains can exist within processes and each domain is an application and that makes things confusing.
Satyapriya NayakPosted Oct 21, 2011, 2:16 PM
Thread: - A single flow of control in a program is known as thread. This can execute independently in a processing environment and perform an operation. A program can be divided into different part or different sequential flow of control known as multithreaded program.
Process :-is a program in execution.
Thanks
VulpesPosted Oct 21, 2011, 1:42 PM
In .NET it's possible for several applications to run under a single process with each application running under its own 'application domain' which isolates the applications from each other