Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Which of the following are NOT shared by the threads of the same process?

$(a)$ Stack
$(b)$ Registers
$(c)$ Address space
$(d)$ Message queue






Solution

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.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...