Which of the following statements about thread is false?
2019
Which of the following statements about thread is false?
- A.
Thread is a lightweight process
- B.
Every process has at least 1 thread
- C.
Each thread has its own Program Counter
- D.
All threads in a process share stack
Attempted by 37 students.
Show answer & explanation
Correct answer: D
Threads are lightweight processes, every process has at least one thread, and each thread has its own program counter. Threads in the same process share code/data resources, but each thread has its own stack, so the shared-stack statement is false.