User level threads are threads that are visible to the programmer and are unknown to the kernel. The operating system kernel supports and manages kernel level threads. Three different models relate user and kernel level threads:
Statement (A): (i) The many-to-one model maps many user threads to one kernel thread. (ii) The one-to-one model maps one user thread to one kernel thread. (iii) The many-to-many model maps many user threads to a smaller or equal number of kernel threads.
Statement (B): (i) The many-to-one model maps many kernel threads to one user thread. (ii) The one-to-one model maps one kernel thread to one user thread. (iii) The many-to-many model maps many kernel threads to a smaller or equal number of user threads.
Which of the following is true?
Statement (A): (i) The many-to-one model maps many user threads to one kernel thread. (ii) The one-to-one model maps one user thread to one kernel thread. (iii) The many-to-many model maps many user threads to a smaller or equal number of kernel threads.
Statement (B): (i) The many-to-one model maps many kernel threads to one user thread. (ii) The one-to-one model maps one kernel thread to one user thread. (iii) The many-to-many model maps many kernel threads to a smaller or equal number of user threads.
Which of the following is true?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. (A) (A) is true; (B) is false
More System Software and Operating System questions
- One of the disadvantages of user-level threads compared to kernel-level threads is:
- Match List I with List II regarding operating system I/O management. List I: (a) Device controller (b) Device driver (c) Interrupt handler…
- In Linux, where is the user password stored?
- A program that is used by other routines to accomplish a particular task is called:
- The following table shows the time between failures (in hours) observed for a piece of software: Error number 1 2 3 4 5 Time since last fai…
- Consider the following statements about a software product line system: Statement I: At the interaction level, components provide an operat…