On Wed, Feb 18, 2009 at 2:49 PM, Patrizio Munzi <[email protected]> wrote: > It works right with a single thread. > It looks like in multi-threads execution threads are stealing bytes from > each other.
If you use a OrderedThreadPoolExecutor, there is no way a thread can steal some bytes from another session's ByteBuffer. There is obviously something wrong in the way you handle those buffers. At this point, without the code, it's a bit difficult to tell where can be the problem. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
