← BYTES
Unix IPC·Starter·Ref: 15.1.84
What is 'starvation,' in the context of locks and scheduling?
Have a question about this video? Mention reference 15.1.84 when you contact us.
a.A thread running out of memory and crashing immediately
b.A type of deadlock that only affects exactly two threads at a time
c.A feature that automatically terminates any thread that runs for too long
d.A situation where a particular thread is repeatedly denied access to a resource it needs (e.g. a lock) indefinitely, even though the system as a whole continues making progress for OTHER threads
Starvation means one specific thread keeps losing out -- perpetually passed over in favor of other threads -- even while the system overall keeps functioning and other threads progress fine. It's a fairness problem, distinct from deadlock (where NOTHING progresses) and from livelock (where work happens but nothing useful completes).
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES15184#UnixIPC