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 |
How does Oracle guarantee data integrity of data changes?
what is grd?
how can you communicate with operating system files from 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?
What background process refreshes materialized views?
2 Answers Accenture, FLSmidth,
What is a correlated sub-query? : sql server DBA
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?
Explain the difference between a hot backup and a cold backup and the benefits associated with each?
Hot backup procedure?
Which autogrowth database setting is good? : sql server DBA
How do you resize a data file?
I lost one datafile i dont have backup how can you recover that???