-
Notifications
You must be signed in to change notification settings - Fork 293
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
Fix mmap.resize errors #1872
Fix mmap.resize errors #1872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I wanted to do more but I realized that I do not understand what the goal is here. Normally, when there is an problem with the code it is kind of evident what the original intention of it was. But here, is it a bug or a feature? Is the interface of If yes, then how come all the effort is in making If not, why all this heavy lifting by locks, interlocked inc/dec, reference counting etc. If the interface is need not be thread-safe, all this overhead can go and simplify things considerably. @slozier, do you know or suspect what the requirements are for the Right now what we have is a not-thread-safe interface with a lot of extra complexity that does not provide anything useful. |
I have to admit I haven't a clue why the |
Thanks for your insights. So my best guess now is that perhaps
Also, the difference between I will come up with a solution for |
No description provided.