Describe the difference between a Thread and a Process?
Answer Posted / kirti
A Process is an instance of an running application. And a thread is the Execution stream of the Process. A process can have multiple Thread.
When a process starts a specific memory area is allocated to it. When there is multiple thread in a process, each thread gets a memory for storing the variables in it and plus they can access to the global variables which is common for all the thread. Eg.A Microsoft Word is a Application. When you open a word file,an instance of the Word starts and a process is allocated to this instance which has one thread.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How Do you Code Composition and Aggregation in C++ ?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Explain virtual inheritance?
Why it is called runtime polymorphism?
What is the example of polymorphism?
What language is oop?
Why is there no multiple inheritance?
what type of questions
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Get me a number puzzle game-program What is the oops and benefits of oops programming? State what is encapsulation and friend function? What is abstraction in oops with example? What is oops and why we use oops? how to get the oracle certification? send me the answer