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

If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2207


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

1082


Which container method is used to cause a container to be laid out and redisplayed?

1136


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

6534


Are enterprise beans allowed to use thread.sleep()?

1148


Is the ternary operator written x : y ? Z or x ? Y : z ?

1108


When is the best time to validate input?

1103


What is the purpose of the notify() method?

1070


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

2100


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

1031


what are the activation groupworks?

2199


how do you Handle Front End Application data against DB with example?

1983


What is mdb and what is the special feature of that?

1057


How primary key is implemented in Oracle?

2443


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

1236