OS Multithreading Question:
Download Job Interview Questions and Answers PDF
What is block multi-threading?
Answer:
The simplest type of multi-threading occurs when one thread runs until it is blocked by an event that normally would create a long latency stall. Such a stall might be a cache-miss that has to access off-chip memory, which might take hundreds of CPU cycles for the data to return. Instead of waiting for the stall to resolve, a threaded processor would switch execution to another thread that was ready to run. Only when the data for the previous thread had arrived, would the previous thread be placed back on the list of ready-to-run threads.
Download OS Multithreading Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain some disadvantages of multithreading? | What is interleaved multi-threading? |