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 can you get actual data change values from previous transactions in oracle?
Explain the use of setting GLOBAL_NAMES equal to TRUE.
how can you enable flashback feature?
You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
1)how to Take Backup in sql server 2005 from Flash Drive
How can you enable a trace for a session?
Why would you call update statistics? : sql server DBA
How do you find out from the RMAN catalog if a particular archive log has been backed-up?
what is the difference between db2start command and start database manager command?
What authentication modes does sql server support? : sql server DBA
Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?
how do we explain a project in cognos in an interview? please help me. Also how do we perform testing in cognos after creating reports?