Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Enumerate the advantages and disadvantages of supporting multi-threaded applications with kernel-level threads

Enumerate the advantages and disadvantages of supporting multi-threaded applications
with kernel-level threads

Answers


Faith
The advantages of kernel-level threads include: Ability to pre-emptively schedule threads as user level
scheduling generally only supports the (potentially buggy) co-operative scheduling – with the added
benefit of not requiring yields everywhere; Each thread is guaranteed a fair amount of execution time

Disadvantages of kernel-level threads include: No benefit to applications whose functions stay staunchly
in user land; a significantly smaller address space; a significantly smaller and possibly close to full stack; code is less portable as OS support is required; thread management is expensive as it requires syscalls
Titany answered the question on April 26, 2022 at 05:15

Answer Attachments

Exams With Marking Schemes

Related Questions