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

set pd_this for readsf and writesf child threads #1227

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

Ant1r
Copy link
Contributor

@Ant1r Ant1r commented Nov 21, 2020

When Pd (or libpd) is compiled with PDINSTANCE and PDTHREADS, the child threads of [readsf~] and [writesf~] need to have pd_this correctly initialized to the pd_instance that owns the object, else Pd crashes.

This closes #1225

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.

[readsf~] segfaults in multithread+multiinstance context
2 participants