Describe the difference between a Thread and a Process?
Answers were Sorted based on User's Feedback
Answer / 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 |
What do you mean by stack program? Get me an example stack program?
Why do we use polymorphism in oops?
Why is oop useful?
What is the difference between encapsulation and polymorphism?
WHY FUCTION OVERLOADING DOSENOT RETURN A RETEN TYPE
Why is polymorphism important in oop?
how to write a java program for an output ****0 ***01 **012 *0123 01234
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
What does sksksk mean in text slang?
What is encapsulation in oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Do you know about multiple inheritance?