Which of the following are NOT shared by the threads of the same process?
$(a)$ Stack
$(b)$ Registers
$(c)$ Address space
$(d)$ Message queue
Threads of the same process share resources like address space, code section, data section and other process resources.
But each thread has its own stack.
Also, each thread has its own register set because the CPU state of each thread must be stored separately.
So, stack and registers are not shared by threads of the same process.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.