Write the different features of a Thread and a Process?



Write the different features of a Thread and a Process?..

Answer / Atul Kumar Srivastava

Threads and processes have several differences:

1. Isolation - A process provides more isolation than a thread since each process has its own memory space, while threads within a process share the same memory space.
2. Resource Consumption - Threads use fewer resources (CPU, memory) compared to processes.
3. Scheduling - An operating system schedules and manages multiple processes but may allow multiple threads to run concurrently within a single process.
4. Termination - Killing a thread in a process does not necessarily kill the entire process, while terminating a process kills all of its associated threads.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is postback request?

1 Answers  


What are different types of directives in .NET ?

1 Answers  


Explain the difference between array and linkedlist?

1 Answers  


What are the advantages and disadvantages of viewstate ?

1 Answers  


Is there any alternative to avoid name collisions other then Namespaces?

1 Answers  


What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?

1 Answers  


Advantage of Update Panel over Asp.net 2.0 + C#+ Microsoft Ajax 1.0

1 Answers   InfoSpace,


How Session use Cookies in State Management?

1 Answers  


How can u debug your .net application?

1 Answers  


If you are using components in your application, how can you handle exceptions raised in a component?

1 Answers   Accenture,


what is satellite assembly in .net?

4 Answers   iSoft,


Types of values mode can hold session state in web.config ?

1 Answers   Accenture, Parrot Systems,


Categories