Back to the 2025 paper

Module 2: Processes & Scheduling

20257m

Define threads and explain their various states. Compare user-level threads with kernel-level threads.

Worked SolutionAI Assisted

Threads & States

Thread = lightweight process, dispatchable unit, shares address space, files of parent.
States: New, Ready, Running, Blocked, Terminated.

ULT vs KLT

  • ULT: managed by user library, many-to-one, fast, kernel unaware, blocking blocks process.
  • KLT: managed by kernel, one-to-one, slower but true parallelism, blocking of one KLT not block process. Hybrid many-to-many combines.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.