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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Oct 21, 2011, 9:42 AM EDT
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
Satyapriya NayakRank #47 · 31.5K reputationPosted Oct 21, 2011, 10:16 AM EDT
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
Sam HobbsRank #107 · 20.5K reputationPosted Oct 21, 2011, 2:10 PM EDT
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.