>
Exams
>
Computer Science & Information Technology
>
Operating Systems
>
threads of a multithreaded program can share
Question:
Threads of a multithreaded program can share
Show Hint
Heap is common among threads; stack is private to each.
TS PGECET - 2024
TS PGECET
Updated On:
May 26, 2025
Stack variables
Heap variables
Register variables
Local variables
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
Threads share heap memory but have their own stacks. Hence, they can communicate through shared heap variables.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Operating Systems
Arrange the following layers of MS DOS operating system starting from inner most to outer most.
(A). ROM BIOS Device drivers
(B). Resident System Program
(C). MS DOS Device Drivers
(D). Application Program
CUET (PG) - 2025
Computer Science
Operating Systems
View Solution
System calls are usually invoked by using which one of the following means?
OJEE - 2025
Computer Science & Information Technology
Operating Systems
View Solution
Which one of the following is not necessarily saved on a context switch between two processes?
OJEE - 2025
Computer Science & Information Technology
Operating Systems
View Solution
Suppose in a time-shared operating system, a certain process is performing I/O. It must be in which one of the following states?
OJEE - 2025
Computer Science & Information Technology
Operating Systems
View Solution
Consider the following statements:
Which ONE of the following is CORRECT?
GATE CS - 2025
Computer Science and IT Engineering
Operating Systems
View Solution
View More Questions
Questions Asked in TS PGECET exam
Which of the following correctly describes the TCP/IP model?
TS PGECET - 2025
Computer Networks
View Solution
In which year was the Earth Summit (Rio Conference) held?
TS PGECET - 2025
Environmental pollution
View Solution
A bag contains 3 red and 2 blue balls. Two balls are drawn without replacement. What is the probability that both are red?
TS PGECET - 2025
Probability
View Solution
Which of the following techniques is primarily used for the synthesis of carbon nanotubes?
TS PGECET - 2025
Strength of Materials
View Solution
Which of the following materials exhibits superparamagnetism at the nanoscale?
TS PGECET - 2025
Strength of Materials
View Solution
View More Questions