What is Difference between thread and process?
Answer Posted / munshimubbi
process is a execution of a program and program contain set
of instructions but thread is a single sequence stream
within the process.thread is sometime called lightweight
process. single thread alows a os to perform singler task
ata time similarities between process and threads are:
1)share cpu.
2)sequential execution
3)create child
4)if one thread is blocked then the next will be start to
run like process.
dissimilarities:
1)threads are not independent like process.
2)all threads can access every address in the task unlike
process.
3)threads are design to assist onr another and process
might or not might be assisted on one another.
| Is This Answer Correct ? | 159 Yes | 59 No |
Post New Answer View All Answers
Does dual boot affect performance?
What do you know about interrupt?
Explain a drawback of mvt?
Which is the best operating system for pc?
What is the difference between internal commands and external commands?
What are the different ways in which data can be represented?
How do an incremental process model and certification work together to produce high quality software? In your own words, describe the intent of certification in the clean room software engineering context.
Tell me the difference between yielding and sleeping?
Can I run 64 bit on x86?
Explain about compiler and the functions executed by them?
What is drawback of mvt?
What are the different functions of an operating system?
What are the various components of a computer system?
Why is a single serial port managed with a single interrupt-driven i/o but a front-end processor is managed using a polling i/o, such as a terminal concentrator?
What is the current microsoft operating system?