Question OS-PROC-0004
EasyWhat do threads of the same process share?
- A.
The code, data and open files of the process
- B.
Their stacks
- C.
Show answer and explanation
Answer: A
Threads share the process's address space (code, globals, heap) and open files, but each has its own stack, registers and program counter.