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

Introduce stricter ordering for access to mDone atomic in NRT wrapper #30

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

weefuzzy
Copy link
Member

@g-roma had been experiencing occasional and hard-to-reproduce crashes in scsynth, when putting the batch processing via Synths to serious work. By happy accident, I was able to get a crash something that looked similar whilst in a debug build, so I could get some more info.

Looked to me like we needed stricter ordering around access to atomics in order for the Trigger UGen to terminate safely, so this PR introduces that.

Not expecting feedback on code, unless C++ threading stuff is of interest, but if reviewers could confirm that SC continues to work for them, that would be swell.

@weefuzzy weefuzzy added the bug Something isn't working label Oct 28, 2021
@weefuzzy weefuzzy self-assigned this Oct 28, 2021
@tremblap tremblap merged commit e5c75cf into flucoma:main Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants