what is the differnce between process and thread ?



what is the differnce between process and thread ?..

Answer / 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

More DB Administration Interview Questions

How does Oracle guarantee data integrity of data changes?

1 Answers   SoftSol,


what is grd?

0 Answers   Oracle,


how can you communicate with operating system files from oracle?

0 Answers   Oracle,


If you're unsure in which script a sys or system-owned object is created, but you know it's in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?

1 Answers  


What background process refreshes materialized views?

2 Answers   Accenture, FLSmidth,






What is a correlated sub-query? : sql server DBA

0 Answers  


if monday take full backup and tuesday it was cumulative backup and wednesday we taken incremental backup, thursday some disaster happen then what type of recovery and how it will take?

1 Answers  


Explain the difference between a hot backup and a cold backup and the benefits associated with each?

7 Answers   TCS,


Hot backup procedure?

2 Answers  


Which autogrowth database setting is good? : sql server DBA

0 Answers  


How do you resize a data file?

2 Answers  


I lost one datafile i dont have backup how can you recover that???

2 Answers   HP,


Categories