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
How should I destroy my objects in asp.net?
How can we identify that the page is post back in asp net?
Briefly describe the role of global.asax?
Do you know about caching with the datasource controls?
What is the difference between exe and dll?
How can we prepairing Interview
What is the difference between sealed vs static class?
Why is global asax is used?
How to find last error which occurred in Asp.net ?
What does the orientation property do in a menu control?
How do you do Client-side validation in .Net?
Which method do you use to kill explicitly a users session?
What is odata in web api?
What is the difference between localization and globalization?
What is meant by web application?