commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
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:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17327

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

Thanks,
David




_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message