[concurrency-interest] ConcurrentLinkedBlockingQueue ?

Hanson Char hanson.char at gmail.com
Wed Sep 13 14:22:01 EDT 2006


I've enhanced ConcurrentLinkedBlockingQueue (CLBQ) such that both the take()
and poll(long,TimeUnit) now throws an InterruptedException if interrupted
while waiting.



However, since CLBQ does not implement the BlockingQueue interface, the name
CLBQ is pretty misleading!  Any suggestion for a better name ?  Or should
these extra take() and poll(long,TimeUnit) should really be
added/incorporated to the existing j.u.c.ConcurrentLinkedQueue ?


(Previous test result before the enhancement:

On 9/11/06, Hanson Char <hanson.char at gmail.com> wrote:
> Testing on an AMD Opteron dual processor, the CLBQ is on average 72%
> faster than the LBQ using the test harness.  Please see the attached pdf for
> more details.
> Hanson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20060913/ccc684a3/attachment.html 

More information about the Concurrency-interest mailing list