Which of the following is not correct about threads of any process?
(1) Compared to a process. switching between threads of same process takes less time as quantum alloted for threads is less.
(2) Inter-thread communication is faster as the threads of one process is share address space.
(3) Threads of a process share same address space.
(4) Compared to a process. swithcing between threads of same process takes less time as next-to-run thread shares same address space.
Answers
Answer:
According to the question, the points which is not correct in the given options is :- 2) Inter-thread communication is faster as the threads of one process is share address space.
Explanation:
The reason for this answer is because a process in a computer system is subdivided into several sub processes or sub tasks. While processes are allocated to the CPU for processing, it is needed to switch to some other processes. When there is a shift in the process, a lot of time is consumed but if a process is broken into sub processes, then it takes less time to shift.
Inter-thread communication is fast, but the address space for them is not the same.
Explanation:
(2) Inter-thread communication is faster as the threads of one process is share address space.