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

Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

2637


How can you tell how much space is left on a given file system and how much space each of the file system's subdirectories take-up?

2502


what are the benefits of flashback feature?

1024


Explain about your sql server dba experience? : sql server DBA

1088


What are the recovery models for a database? : sql server DBA

1132


what functionality does oracle provide to secure sensitive information?

995


how can you create a user-defined lock?

1020


What is the difference between clustered and non-clustered index? : sql server DBA

1091


What are the different types of database compression introduced in sql server 2008? : sql server DBA

1108


. I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

2443


What is dcl? : sql server DBA

1271


how can you connect from 10g user to 11g user??

2116


If you are given access to a sql server, how do you find if the sql instance is a named instance or a default instance? : sql server DBA

1015


how can you initialize log miner?

1147


How would you go about verifying the network name that the local_listener is currently using?

3217