What do you mean by starvation in an operating system?
A
When a thread is waiting indefinitely for some resource but other threads are using it.
B
When a thread wants permission
C
When only the thread is allowed to use the resource
D
None of the above
Correct Option:
A
Explanation
Starvation occurs when a process or thread is continually denied the resources it needs because those resources keep being allocated to other processes. Unlike deadlock, the overall system may continue working—the unlucky process simply keeps waiting.