- (a) is true; (b) is false
- (a) is false; (b) is true
- Both (a) and (b) are true
- Both (a) and (b) are false
Option 1 : (a) is true; (b) is false
The correct answer is option 1.
CONCEPT:
EXPLANATION
Multiple threads of the same process share other resources of the process except for register, stack, and stack pointer. In particular, a process is generally considered to consist of a set of threads sharing an address space, heap, static data, code segments, and file descriptors.
[ alt="F1 R.S Pallavi 3.12.19 D 5" src="//storage.googleapis.com/tb-img/production/19/12/F1_R.S_Pallavi_3.12.19_D%205.png" style="width: 549px; height: 277px;">
Thread of the same process doesn't share program counter (register), stack, registers