Looking for the answer to the question below related to Operating System?
A certain task is multithreaded in such a way that it is supported by two kernel threads where each kernel thread is supporting more than one user thread. Which of the following statement is not true about this scenario?
Options:
(a) The task can utilize the combined power of more than one CPU, if CPUs are available
(b) If a user thread makes a blocking system call, the corresponding kernel thread blocks but the task is still able to continue through the remaining kernel thread
(c) The task could have been programmed using a thread library such as POSIX threads or Java threads
(d) If a user thread makes a blocking system call, the corresponding kernel thread blocks and the task will also be blocked
(e) Kernel threads capability needs to be built into the operating system, and cannot be provided by a system call library.
The Correct Answer Is:
- (d) If a user thread makes a blocking system call, the corresponding kernel thread blocks and the task will also be blocked
Conclusion
I hope you got the answer to your question.