Describe the difference between a Thread and a Process?
Answer Posted / nahom tijnam
Thread is the basic unit of execution in a computer processor.
Process is an instance of a program that is executed sequentially. So when you fire up an application in your computer, you are starting a process.
Process consists of one or more threads. Single Threaded applications when run have a process with a single thread. Similarly, Multi-threaded applications (MTA) when run have a process with multiple threads.
In an MTA, the different threads can access the resources (like memory) owned by its process.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is debug class?what is trace class? What differences are between them? With examples.
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Can a varargs method be overloaded?
What is difference between multiple inheritance and multilevel inheritance?
What is constructor overloading in oop?
What does and I oop mean?
Where is pseudocode used?
Why is oop better than procedural?
What is oops and why we use oops?
What is inheritance in simple words?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
How many human genes are polymorphic?
can we make game by using c
What is inheritance and how many types of inheritance?