Describe the difference between a Thread and a Process?
Answer Posted / chandra sekhar dola
- A Process has its own memory space, runtime enivorment
and process ID. A Thread runs inside a Process and shares
its resources with other threads.
- A thread is a path of execution that run on CPU,
a proccess is a collection of threads that share the same
virtual memory. A process have at least one thread of
execution, and a thread always run in a process context.
- Process is unit of allocation while Thread is
unit of execution. Each process has one or more threads.
Each thread belong to one process
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Which method do you use to kill explicitly a users session?
Can I tap into other windows livetm services?
what is the difference between response.write() and response.output.write()?
how to debug web services on consumer side?
What’s difference between “optimistic” and “pessimistic” locking?
What is the purpose of url encoding?
How many web config files can be created for an application?
WSDL means?
Explain repository pattern in asp.net mvc? : asp.net mvc
I’m having some trouble with cas. How can I diagnose my problem?
How you can stop the validation of ASP.NET controls from client side?
what is silver light when will we use silver light,
What is diff. Between abstract class and an interface?
What is base class of button control in .net?
What is web configuration file and how to use in web application