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 Process and Threads?

Answer Posted / jagadeeesh

Process
Each process provides the resources needed to execute a program. A process has a virtual address space, executable code, open handles to system objects, a security context, a unique process identifier, environment variables, a priority class, minimum and maximum working set sizes, and at least one thread of execution. Each process is started with a single thread, often called the primary thread, but can create additional threads from any of its threads.
threads
thread is the entity within a process that can be scheduled for execution. All threads of a process share its virtual address space and system resources. In addition, each thread maintains exception handlers, a scheduling priority, thread local storage, a unique thread identifier, and a set of structures the system will use to save the thread context until it is scheduled.It is termed as a ‘lightweight process’, since it is similar to a real process but executes within the context of a process and shares the same resources allotted to the process by the kernel

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How messaging services are done, before release of JMS?

2075


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1109


What is the highest-level event class of the event-delegation model?

1035


Brief description about local interfaces?

1191


What do you need to set-up a cluster with jboss?

1020


whats is mean by connectionpooling

1960


What value does read() return when it has reached the end of a file?

983


What restrictions are placed on the values of each case of a switch statement?

957


Should synchronization primitives be used on bean methods?

1005


what are the activation groupworks?

2129


How are commas used in the intialization and iteration parts of a for statement?

1051


To identify IDL language what mapping mechanism is used?

3890


Difference between new operator and class.forname().newinstance()?

1085


Why use a datasource when you can directly specify a connection details?

972


What are the different approaches to represent an inheritance hierarchy?

1019