commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject RE: [ThreadPool] Is this alive? Why not use commons-pool?
Date Thu, 15 May 2003 17:56:42 GMT
Sorry I didn't think to include that link.  As far as I can tell, that 
package is the definitive concurrent programming package so it's a good idea 
to use it and your code will be ready for Java 1.5.

David


>We have used the pre-JSR-166 java.util.concurrent package for our thread
>pool on top of 1.3.1.
>
>FYI, it is freely available here:
>http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.h
>tml
>
>Gary
>
>-----Original Message-----
>From: David Graham [mailto:dgraham1980@hotmail.com]
>Sent: Thursday, May 15, 2003 7:00 AM
>To: commons-dev@jakarta.apache.org
>Subject: Re: [ThreadPool] Is this alive? Why not use commons-pool?
>
>Even though ThreadPool has "pool" in its name, it is fundamentally 
>different
>
>that commons-pool.  The symantics of using a thread pool are quite 
>different
>
>than a normal object pool.  Thread pools are better named task queues or
>work queues.
>
>The upcoming Java 1.5 has built in support for thread pools in the new
>java.util.concurrent package.
>
>David
>
> >
> >Howdy,
> >James (Strachan) or anyone else out there: is commons-threadpool alive?
> >I see broken images and links galore on its web site.
> >
> >Whether it's alive or not, could commons-pool be used for a threadpool?
> >Perhaps a subclass of BaseObjectPool with special care in
> >synchronization?  Is anyone out there using commons-pool for thread
> >pools?
> >
> >I ask because I have a home-grown threadpool implementation I'd like to
> >junk in favor of an open-source one.
> >
> >Thanks,
> >
> >Yoav Shapira
> >Millennium ChemInformatics
> >
> >
> >
> >
> >
> >This e-mail, including any attachments, is a confidential business
> >communication, and may contain information that is confidential,
> >proprietary and/or privileged.  This e-mail is intended only for the
> >individual(s) to whom it is addressed, and may not be saved, copied,
> >printed, disclosed or used by anyone else.  If you are not the(an) 
>intended
>
> >recipient, please immediately delete this e-mail from your computer 
>system
> >and notify the sender.  Thank you.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>_________________________________________________________________
>Tired of spam? Get advanced junk mail protection with MSN 8.
>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

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
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