ByteBuffer is a subclass of Buffer, whose documentation says, under
"Thread Safety", "Buffers are not safe for use by multiple concurrent
threads. If a buffer is to be used by more than one thread then access
to the buffer should be controlled by appropriate synchronization."
Is access controlled by appropriate synchronization? How are the buffers
communicated between the threads?
Patricia
On 5/14/2014 2:03 AM, Peter Firmstone wrote:
One of the things I like about JERI is it's multiplexing and multithreaded.
What I don't like about JERI is, it passes ByteBuffers between calling
threads and pool threads.
Who can guess what's wrong with that?
Peter.