CS FundamentalsVery hardGATE CS

Which statement about scheduler activations / the two-level (many-to-many) threading model is correct?

  1. A. The kernel schedules every user thread directly
  2. B. User threads cannot block in this model
  3. C. The kernel notifies the user-level thread library (an upcall) when a thread blocks, so the library can run another user thread on the freed kernel resource
  4. D. It requires one kernel thread per user thread

Correct answer: C. The kernel notifies the user-level thread library (an upcall) when a thread blocks, so the library can run another user thread on the freed kernel resource

Scheduler activations let the kernel inform the runtime about blocking and unblocking events, combining cheap user-level switching with the ability to keep processors busy during blocking calls.

More Operating Systems questions

Exams that ask this topic