Skip to content
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

address #1782 2nd loop #1785

Merged
merged 1 commit into from
Oct 5, 2018
Merged

address #1782 2nd loop #1785

merged 1 commit into from
Oct 5, 2018

Conversation

brada4
Copy link
Contributor

@brada4 brada4 commented Oct 3, 2018

IMO first loop exactly tries to pinch free memory position without lock, then shoots with lock 2nd time. full wrap with locks would make whole code useless, it would check position availability twice under lock, so this wraps only 2nd loop with locks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants