-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Management of files #36
Comments
Automatic swap-to-disk (and deletion upon Lines 118 to 129 in 49bb60f
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe first question to ask is if this package is intended for people like me who only wish to use the disk as an extension of the RAM?
Anyways, it seems like the files created needs to be manually deleted (e.g. by calling pooldelete) when no longer needed, or?
If I want files to be deleted when the DRef is no longer used, is it correct to wrap the DRef in a Ref and register a finalizer for that Ref (while ofc making sure all other parts of the program only interact with the referenced data through some struct wrapping the Ref)?
It seems to work in casual testing but I'm afraid there might be hidden pitfalls with it when let loose in the wild.
The text was updated successfully, but these errors were encountered: