Differences between single thread and multithread in os
Answers
Answered by
1
Multithread :
1. multiple threads run at the same time.
2. CPU time is never wasted.
3.When one thread is paused due to some reason, other threads run as normal.
Single thread:
1. a single thread runs at a time.
2. CPU time is wasted.
3.When one thread is paused, the system waits until this thread is resumed.
1. multiple threads run at the same time.
2. CPU time is never wasted.
3.When one thread is paused due to some reason, other threads run as normal.
Single thread:
1. a single thread runs at a time.
2. CPU time is wasted.
3.When one thread is paused, the system waits until this thread is resumed.
Answered by
93
Answer:
Multithread :
- 1. multiple threads run at the same time.
- 2. CPU time is never wasted.
- 3.When one thread is paused due to some reason, other threads run as normal.
Single thread:
- 1. a single thread runs at a time.
- 2. CPU time is wasted.
- 3.When one thread is paused, the system waits until this thread is resumed.
Similar questions