Looking for the answer to the question below related to Operating System?
Which of the following statements comparing the context of a thread with that of a process is true?
Options:
(a) Two processes will share any context; two threads of a same process will only share the data and the code (text) areas of the context
(b) Two processes will not share any context; two threads of a same process will share the data, code (text) and the stack areas of the context
(c) Two processes will share the data and the code (text) areas of the user context; two threads of a same process will only share the register context
(d) The overhead involved in context switching for processor is much higher than that for threads
(e) The overhead involved in context switching for threads is much higher than that for processes.
The Correct Answer Is:
- (d) The overhead involved in context switching for processor is much higher than that for threads
Conclusion
I hope you got the answer to your question.
- 10 Effective Time Management Tips for Students : Mastering Growth & Productivity - March 3, 2025
- Building a Culture of Compliance: Strategies for Long-Term Success - January 21, 2025
- Which best describes how an investor makes money from an equity investment? - January 15, 2025