Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between a Thread and Process?



What is the difference between a Thread and Process?..

Answer / krishpuneet

A process is a collection of virtual memory space, code,
data, and system resources. A thread is code that is to be
serially executed within a process. A processor executes
threads, not processes, so each application has at least
one process, and a process always has at least one thread
of execution, known as the primary thread. A process can
have multiple threads in addition to the primary thread.
Prior to the introduction of multiple threads of execution,
applications were all designed to run on a single thread of
execution.

When a thread begins to execute, it continues until it is
killed or until it is interrupted by a thread with higher
priority (by a user action or the kernel’s thread
scheduler). Each thread can run separate sections of code,
or multiple threads can execute the same section of code.
Threads executing the same block of code maintain separate
stacks. Each thread in a process shares that process’s
global variables and resources.

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How do you a replicate a set of controls across a number of ASP Pages

2 Answers  


How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

1 Answers  


Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version

2 Answers   Citrix, TCS,


what is the challenging situation you faced in your career?

3 Answers   Calsoft, HP, Satyam, Wipro,


what exception is thrown when you do a response.redirect

2 Answers   IBM,


How can you execute stored procedure from windows application?

1 Answers   Microsoft,


what are httphandlers and httpmodules.and their differences.

1 Answers   Siemens,


What is the difference between equals() and == in c#?

0 Answers  


Why do we use asp.net?

0 Answers  


What is redirecting behavior?

0 Answers  


Explain file-based dependency and key-based dependency.

0 Answers   MindCracker,


On what object is the transaction in ADO.NET focused on? a) The command object b) The DataSet object c) The Connection object d) The DataAdapter object

4 Answers   Syntax Softtech,


Categories