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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a ashx file?

1127


How information about the user's locale can be accessed?

1062


How ViewstateMac works?

2837


What is the parent class of all web server control?

1035


How do you secure your connection string information?

984


what is command line compiler.what are the steps and how it is related to debugging.

1886


What are the new navigation controls in asp.net 2.0?

1003


Define tracing.

1117


Explain what is postback in asp. Net?

1076


Is sql backend or frontend?

1008


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

1004


explain code with multi inhertance

2112


What do you understand from custom control?

1123


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

1060


Define msil.

960