Last Updated : 25 Jan, 2019

Which of the following option regarding threads is not correct?
(A) Special machine instructions such as “test and set” can be used to protect data structures shared between threads running on a single CPU
(B) With kernel-level threads, multiple threads from the same process can be scheduled on multiple CPUs simultaneously.
(C) Threads that are part of the same process share the same stack.
(D) None of these.


Answer: (C)

Explanation: Only option (C) is false because each thread has its own stack (specifically its own stack and frame pointer) although the stacks are placed in the same address space.

Quiz of this Question


Share your thoughts in the comments