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

Are there books about seam?

1080


What is a policy?

2288


Define aop(assepct oriented programing)?

1150


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

1040


Describe, in general, how java's garbage collector works?

1015


What is the purpose of the notifyall() method?

1032


How will you pass parameters in RMI? Why do you serialize?

1222


What is the relationship between local interfaces and container-managed relationships?

1105


Why are some of the class and element names counter-intuitive?

1126


What is the relationship between the canvas class and the graphics class?

1029


How can I avoid validating a form before data is entered?

987


How is a java object message delivered to a non-java client?

1038


What are the different algorithms used for clustering?

1054


What happens when a thread cannot acquire a lock on an object?

1022


For which statements does it make sense to use a label?

1062