Problem: “A group of threads together hold all of a finite number of resources. One of them needs additional resources but no other thread gives one up" [Lea00].
Java example of the problem: ...
Context: Trying to optimize a concurrent program by limiting resources.
Solution: One solution is to consider allocating additional resources. Another solution is to limit all threads? access to resources.
Java example of the solution: ...
References:
[Lea00] D. Lea, Concurrent Programming in Java: Design Principles and Patterns, Second Edition. Addison Wesley, 2000.