GNOME Bugzilla – Bug 585433
[queue] Can lock down if min-threshold conflicts with max-size
Last modified: 2009-06-15 17:07:08 UTC
When both min-threshold and max-size properties are set on a queue, it is possible that it locks down completely: nothing can be pushed into it because it is full, but also nothing is pushed out because it is simultaneously empty. Patch follows.
Created attachment 136335 [details] [review] [queue] Don't lock when min-threshold and max-size conflict. When min-threshold is set on a queue, it is possible that one of the minima remains unsatisfied while one of the maxima is already reached. Therefore, always consider the queue non-empty if it is full.
commit 34aeb8ba7efd6c39d85b7172201bdd19008d6133 Author: Arnout Vandecappelle <arnout@mind.be> Date: Thu Jun 11 15:00:52 2009 +0200 don't lock when min-threshold and max-size conflict. When min-threshold is set on a queue, it is possible that one of the minima remains unsatisfied while one of the maxima is already reached. Therefore, always consider the queue non-empty if it is full. Fixes #585433.