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 differnce between process and thread ?

Answer Posted / santosh kumar

1.Threads share the address space of the process that created it; processes have their own address.

2.Threads have direct access to the data segment of its process; processes have their own copy of the data segment of the parent process.

3.Threads can directly communicate with other threads of its process; processes must use interprocess communication to communicate with sibling processes.

4.Threads have almost no overhead; processes have considerable overhead.

5.New threads are easily created; new processes require duplication of the parent process.

6.Threads can exercise considerable control over threads of the same process; processes can only exercise control over child processes.

7.Changes to the main thread (cancellation, priority change, etc.) may affect the behavior of the other threads of the process; changes to the parent process does not affect child processes.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to restore files with rman?

2259


Draft one mock email requesting your non-technical management grant you downtime to (provide justification where applicable) complete the following tasks: (1) Generate statistics on a large table; (2) Generate an RDA – if you don't know what an RDA is please say so. (3) Rename datafiles.

2124


what are the types of connection load-balancing?

949


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

4397


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2760


how can you get actual data change values from previous transactions in oracle?

1054


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1998


What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA

943


Explain materialized views and how they are used.

2405


Why does Oracle not permit the use of PCTUSED with indexes?

2897


What is the importance of a recovery model? : sql server DBA

981


What is replication? : sql server DBA

1117


what is the role of dip user in our database?

2372


How to craeate the New Database Schema in Oracle and mysql? Please tell me with Example?

2424


How would you best determine why your MVIEW couldn't FAST REFRESH?

2313