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
What is abstraction in oop with example?
which feature are not hold visual basic of oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is object and class in oops?
What is overloading and its types?
What are the three parts of a simple empty class?
What is a class in oop?
Can we create object of abstract class?
What is object in oops?
What is the purpose of polymorphism?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What is abstraction in oops?
Explain the advantages of inheritance.
How to hide the base class functionality in Inheritance?
Why is polymorphism needed?