Skip to content

set pd_this for readsf and writesf child threads#1227

Merged
millerpuckette merged 1 commit intopure-data:masterfrom
Ant1r:fix_readwritesf_instance
Dec 15, 2020
Merged

set pd_this for readsf and writesf child threads#1227
millerpuckette merged 1 commit intopure-data:masterfrom
Ant1r:fix_readwritesf_instance

Conversation

@Ant1r
Copy link
Copy Markdown
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