[concurrency-interest] Proposal WeightedLinkedBoundedQueue

Brian Goetz brian at quiotix.com
Tue Nov 28 13:50:07 EST 2006

> Tim's generalised semaphore approach also sounds feasible - and much 
> simpler in terms of getting the blocking semantics for excess weight.

This works as long as an object's weight doesn't change after permits 
are acquired.  (This property follows from effective immutability, which 
will often hold for things that are put on a shared queue.)

More information about the Concurrency-interest mailing list