Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Clarify whether individual methods are threadsafe #47

Closed
jbellis opened this issue Sep 13, 2023 · 1 comment
Closed

Clarify whether individual methods are threadsafe #47

jbellis opened this issue Sep 13, 2023 · 1 comment

Comments

@jbellis
Copy link

jbellis commented Sep 13, 2023

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?

@mmorrisontx
Copy link
Member

Closing all issues, as this repository is now archived.

@mmorrisontx mmorrisontx closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants