You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Phil Steitz <ph...@steitz.com> on 2003/09/17 05:26:39 UTC

[collections] Shouldn't BlockingBuffer.add() notifyAll?

The add method of o.a.c.c.decorators.BlockingBuffer uses notify rather 
than notifyAll to notify threads that may be waiting on blocked get or 
remove requests.  Why is this?  The addAll method uses notifyAll, which 
would seem natural for add as well.

This issue is being tracked in pr #23159, raised by Janek Bogucki.

Phil