commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject [collections] BlockingQueue addition
Date Sat, 01 Mar 2003 21:35:05 GMT
While I am a committer in the commons I've never worked with the collections 
project before so I thought I'd float this idea before committing anything.

I have developed a useful queue implementation that allows threads to 
communicate to each other.  The queue methods block when the queue is full 
and when it's empty.  So, one thread can be dumping objects into the queue 
while another reads from it.  I also have a subclass of BlockingQueue called 
UnboundedBlockingQueue that has no maximum capacity.

I have opened an enhancement request with the attached source:

If there's any interest in this I can commit the source and test cases.


STOP MORE SPAM with the new MSN 8 and get 2 months FREE*

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message