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
how can you process messages in order asynchronously?
How to bind a cobol module to a given job? I am not able to understand this concept.Can anyone help me out as how to carry out this task?
What is replication? : sql server DBA
In what script is "snap$" created? In what script is the "scott/tiger" schema created?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA
Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?
How would you best determine why your MVIEW couldn't FAST REFRESH?
I have A,B,C servers.i want to 3 servers jobs move to D server(target server)..how? note: i said that take the backup of msdb and restore to the target server..he said while restoring jobs replaced. what is the solution
Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?
what is grd?
can u plz tell me what r the mandatory skills for getting job as a sql dba......plz send me all details thank you my id :k.mohann.mohan@gmail.com
how can you create a user-defined lock?
Can you redefine a table online?
how can you communicate with operating system files from oracle?
Explain materialized views and how they are used.