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

fix locking of the useless_lock in LocklessRingBuffer.h #5362

Merged
merged 1 commit into from
Jan 5, 2020

Conversation

he29-net
Copy link
Contributor

@he29-net he29-net commented Jan 2, 2020

Cherry-picked bugfix from #5328.

@LmmsBot
Copy link

LmmsBot commented Jan 2, 2020

🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩

Linux

Windows

🤖
{"platform_name_to_artifacts": {"Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://5601-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.577-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5601?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://5602-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.577-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5602?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://5604-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.577-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5604?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/3kk26dpan5m8wd8r/artifacts/build/lmms-1.2.1-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/29862591"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/ikb2lyk34gb1gj8c/artifacts/build/lmms-1.2.1-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/29862591"}]}, "commit_sha": "958aff90e20cff48dd0b91d686e2f7382be8be72"}

@zonkmachine zonkmachine requested a review from PhysSong January 5, 2020 13:16
@JohannesLorenz JohannesLorenz removed the request for review from PhysSong January 5, 2020 15:13
@JohannesLorenz
Copy link
Contributor

Looks good, and is confirming to docs.

Code and style review finished. No testing done yet.

@JohannesLorenz JohannesLorenz added the needs testing This pull request needs more testing label Jan 5, 2020
@JohannesLorenz
Copy link
Contributor

IIRC you say in the #5328 that it had only been crashing on Windows? If yes, then we need a Windows tester. As it's such a simple change though, for me it's just OK without testing, what do you think?

@he29-net
Copy link
Contributor Author

he29-net commented Jan 5, 2020

Yes, it crashed only on Windows (that's why we missed it in the spectrum analyzer update review). I tested the Vectorscope build on Windows and this commit fixed the issue. PhysSong also mentioned it fixed "a similar crash" for him, so that should be hopefully a good enough indication that the fix works as intended.

@JohannesLorenz JohannesLorenz removed the needs testing This pull request needs more testing label Jan 5, 2020
@JohannesLorenz JohannesLorenz merged commit ef99c53 into LMMS:master Jan 5, 2020
@JohannesLorenz
Copy link
Contributor

Thanks for the fix!

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.

3 participants