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
What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA
internal architecture
suppose you want to audit specific activities on sensitive data. How can you achieve that?
What is a system database and what is a user database? : sql server DBA
what do you understand by fine-grained auditing?
What is transparent data encryption? : sql server DBA
Does any body has ORACLE Certification Dumps or Materials on 9i DBA, 10G DBA, Internet Application Developer, OCP 8i to 10g DBA Upgrade, Oracle 11i if any body have it, please kindly drop an email to: taruni_2k8@yahoo.com
What are the different types of database compression introduced in sql server 2008? : sql server DBA
how does an oracle clusterware manage crs resources?
What is dcl? : sql server DBA
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.
What the different components in replication and what is their use? : sql server DBA
how can you find out if a table can be redefined?
How would you extract DDL of a table without using a GUI tool?
How to start SQL Server in minimal configuration mode?