Practice mode Operating Systems

Which multithreading model maps each user thread to its own kernel thread, as Linux and Windows do?

Correct answer D. One-to-one model

Explanation

Linux and Windows implement the one-to-one model: every user thread gets a kernel thread, so a blocking call by one thread does not block the others and threads can run in parallel on multiple cores. The cost is that creating many threads creates many kernel objects. Many-to-many multiplexes user threads onto fewer kernel threads, and two-level is a variant of it.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.