Free Processes and threads lessonsProcesses and threads · Stage 1 · Threads · Step 2
Kernel threads and user threads
Understand who manages threads (the library or the kernel) and the three ways to map them to kernel threads. About 13 minutes.
Under the many-to-one model, what happens when one user thread makes a blocking system call?
- AThe whole process blocks, because the kernel only sees one thread
- BOnly that user thread blocks
- CNothing blocks, because threads never block
Show the answer
The whole process blocks, because the kernel only sees one thread. All the user threads share one kernel thread, which is now blocked.
4 questions on this idea
Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.
Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve