[concurrency-interest] Class striped/ordered Thread Pool

Glenn McGregor glenn at 8950aaa.com
Fri May 11 00:53:46 EDT 2012

Hello all,

I'm looking for a thread pool with the following characteristics... (in 

interface StripedRunner {
     Object getStripeClass();
     void run();

magicPool.execute( stripedRunner );

The idea being that any StripedRunners with the same stripeClass would 
get executed in the order they were queued,
but StripedRunners with different stripedClasses could execute 

Is there a way to configure the standard concurrent pools to work this 
way (doesn't seem to be), or a way to extends
the current code?

Or perhaps some third party library implementation?


Glenn McGregor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20120510/a9fbeb4e/attachment.html>

More information about the Concurrency-interest mailing list