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

what are the application layers for a distribute application?

0 Answers   Mind Tree,


What Name space does the web page belon in the .net framework class hierarchy?

1 Answers   L&T, Wipro,


How do we ensure view state has not tampered?

0 Answers  


Have you used microsoft dataaccess blocks and Exception blocks?

1 Answers   Microsoft,


What is DTS package?

2 Answers   Accenture, TCS,


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

0 Answers  


What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?

1 Answers   Patni,


Can you explain what inheritance is and an example of when you might use it?

1 Answers   Sports Interactive,


What is xaml? Are xaml file compiled or built on runtime?

0 Answers  


How to change the form layout in ASp.net 2.0 ?

1 Answers   Netsweeper,


About Global .asax ?

6 Answers   Satyam,


What?s a bubbled event?

6 Answers   Visual Soft,


Categories