全部博文(413)
分类:
2011-06-25 13:23:34
Starvation describes a situation where a thread is unable to gain regular access to shared resources and is unable to make progress. This happens when shared resources are made unavailable for long periods by "greedy" (注:贪婪的) threads. For example(注:Java example), suppose an object provides a synchronized method that often takes a long time to return. If one thread invokes this method frequently, other threads that also need frequent synchronized access to the same object will often be blocked.
(From: http://herosoft.itpub.net/post/5802/497205)