Back to the 2023 paper

Module 2: Processes & Scheduling

20235m

Explain user and kernel level threads in detail.

Worked SolutionAI Assisted

User & Kernel Threads

ULT: implemented via thread library (pthreads user-level), TCB in user space, scheduling by library, no kernel trap for switch, cannot exploit multiprocessors, whole process blocks on I/O.
KLT: kernel maintains TCB, scheduling by kernel, can be scheduled on different cores, system calls handle ops. Needs mode switch but supports parallel execution. Modern OS supports hybrid.

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.