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


Please Help Members By Posting Answers For Below Questions

Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


What is debug class?what is trace class? What differences are between them? With examples.

1602


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2027


Can a varargs method be overloaded?

615


What is difference between multiple inheritance and multilevel inheritance?

601






What is constructor overloading in oop?

599


What does and I oop mean?

610


Where is pseudocode used?

563


Why is oop better than procedural?

600


What is oops and why we use oops?

569


What is inheritance in simple words?

623


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1652


How many human genes are polymorphic?

568


can we make game by using c

3413


What is inheritance and how many types of inheritance?

612