Andrew Zhang wrote:
Hello everyone,
I noticed there are several FIXMEs in MappedByteBufferAdapter.java, which
are related to synchronization issue.
Following FIXME is for getChar() method:
// FIXME Need synchronization as far as the update of this.position is
concerned of the following
Richard Liang wrote:
Hello Andrew,
IMHO, if the spec does not require a class thread-safe explicitly, we
may regard the class as thread-unsafe. Correct me if I'm wrong ;-)
I agree -- you may assume unsafe unless spec'd otherwise.
Regards,
Tim
Andrew Zhang wrote:
Hello everyone,
I
Hello everyone,
I noticed there are several FIXMEs in MappedByteBufferAdapter.java, which
are related to synchronization issue.
Following FIXME is for getChar() method:
// FIXME Need synchronization as far as the update of this.position is
concerned of the following methods? Spec does not say
Hello Andrew,
IMHO, if the spec does not require a class thread-safe explicitly, we
may regard the class as thread-unsafe. Correct me if I'm wrong ;-)
Andrew Zhang wrote:
Hello everyone,
I noticed there are several FIXMEs in MappedByteBufferAdapter.java, which
are related to