[concurrency-interest] Proposal WeightedLinkedBoundedQueue

Thierry Hanot thanot at infovista.com
Thu Nov 30 12:56:15 EST 2006

That was the answer I was waiting for :)
I'm doing it now ;)

If somebody is interesting by the code feel free to ask.

Thanks a lot 

Thierry Hanot  

-----Original Message-----
From: Dawid Kurzyniec [mailto:dawidk at mathcs.emory.edu] 
Sent: jeudi 30 novembre 2006 18:45
To: Thierry Hanot
Cc: Brian Goetz; dholmes at ieee.org; concurrency-interest at cs.oswego.edu
Subject: Re: [concurrency-interest] Proposal WeightedLinkedBoundedQueue

Thierry Hanot wrote:
> I'll try to use the semaphore. And I agree with Tim , the weight
> be immutable once the element is in the queue. But I'm still believe
> that we can avoid any synchronization over cost by simply modifying
> LinkedBoundedQueue and changing the AtomicInteger used to manage the
> count :).

Nothing can stop you from grabbing a public-domain source from:


and custom-fitting it for your purpose. Which is one of many reasons why
we love this library so much :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20061130/96d4b600/attachment.html 

More information about the Concurrency-interest mailing list