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
What is abstraction in oop?
What is a function in oop?
any one please tell me the purpose of operator overloading
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is abstract class in oop?
Is html an oop?
Can we have inheritance without polymorphism?
write a program to find 2^n+1 ?
What is the diamond problem in inheritance?
Write a program to reverse a string using recursive function?
How do you answer polymorphism?
What is the point of oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is difference between pop and oop?
What is interface in oop?