Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(3) Assume an operating system maps user-level threads to the kernel using the m

ID: 3534450 • Letter: #

Question

(3) Assume an operating system maps user-level threads to the kernel using the many-to many model where the mapping is done through LWPs. Furthermore, the system allows the developers to create real-time threads. a) Is it necessary to bound a real-time thread to an LWP and give a detailed explanation why. (3) Assume an operating system maps user-level threads to the kernel using the many-to many model where the mapping is done through LWPs. Furthermore, the system allows the developers to create real-time threads. a) Is it necessary to bound a real-time thread to an LWP and give a detailed explanation why.

Explanation / Answer

off course Yes, otherwise a user thread may have to compete for an available LWP prior to being actually scheduled. By binding the user thread to an LWP, there is no latency while waiting for an available LWP; the real-time user thread can be scheduled immediately. Also the OS can assign a high priority to such a thread so that it can receive real-time servicing.