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


Please Help Members By Posting Answers For Below Questions

Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?

1899


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

566


Where code pages are used?

690


What is applicatio domain?

571


What is difference between session and cookie?

511






Is asp.net different from asp? If yes, explain how?

494


Explain the basic functionality of garbage collector?

524


What is difference between viewstate and session in asp net?

559


What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

537


Describe a Windows Service and its lifecycle ?

620


What is data cache in sql server?

588


How do cookies work? Give an example of their abuse.

543


Are xaml file compiled or built on runtime?

551


What is the size of Get method and how much data it can store?

561


Differentiate between a page theme and a global theme?

519