[concurrency-interest] BoundedPriorityBlockingQueue ?

Hanson Char hanson.char at gmail.com
Tue Sep 12 16:19:59 EDT 2006

I see blocking on put on a BoundedPriorityBlockingQueue is not such a good

How about making the put method return a false boolean value upon queue
full, or alternatively throwing something like a QueueFullException ?

Would this be useful/sensible ?


On 9/12/06, Brian Goetz <brian at quiotix.com> wrote:
> The tricky part is if you want to guarantee that the thread offering the
> element of highest priority is first to be unblocked.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20060912/d09ad99e/attachment.html 

More information about the Concurrency-interest mailing list