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

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.