directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <>
Subject Re: [mina] Current status
Date Mon, 20 Dec 2004 23:24:17 GMT


> Trustin, I highly recommend using Doug Lea's Concurrent library to
> create the
> threadpool.  He has a PooledExecutor that already is works and is debugged.
> No sense in reinventing the wheel when someone else has done it quite well.
> (In fact, except for the package names, that library became JSR 166 which is
> part of Java 5).

I already looked at it, and it is cool.  But PoolExecuter doesn't
guarentee the order of events for the same sessions, so I need some
trick here.  I'll adapt a trick from Leader/Followers thread pool.

what we call human nature is actually human habit

View raw message