util icon indicating copy to clipboard operation
util copied to clipboard

Clarify whether individual methods are threadsafe

Open jbellis opened this issue 1 year ago • 0 comments

The blog post introducing util-mmap suggests using AtomicSharedReference for thread safety. It looks like this is just a reference counter so that it can unmap files safely when no longer used, and that individual methods in MMapBufferReader and DirectMemory are threadsafe with no need for extra synchronization. Is that correct?

jbellis avatar Sep 13 '23 19:09 jbellis