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

Name the class that is used to bind the server object with RMI Registry?

2220


Name three subclasses of the component class?

1161


What class is used to create Server side object ?

2315


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

1050


what are memory considerations of jsp compares to other web components?

6589


Which containers use a border layout as their default layout?

1202


What is the diffrence between a local-tx-datasource and a xa-datasource?

1108


Explain what is orm?

1155


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

1101


What is a session? Can you share a session object between different theads?

1036


Define prototype?

1125


difference between  ejb,struts,hibernate,spring and jsp

2924


Do I need to import javlang package any time? Why ?

1152


What is the difference between static and non-static with examples?

1999


What is JTS?

2431