Multithreading [10, 10]
Quesiton1) When a process is multithreaded, which of these resources are shared among the threads, and which are private to each thread?
- Signals
- Program counter
- Stack
- Heap
- CPU registers
- Open Files
Question 2) Explain the differences, advantages, and disadvantages between user and kernel threads. What are the advantages and disadvantages of a lightweight process?
Can you provide the solutions for these two questions. Help me!!