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

Release GIL when creating topics #136

Conversation

willstott101
Copy link
Contributor

Fixes (at least 1 of) the deadlocks discussed in #134

It doesn't fix the deadlock triggered by 54b9002 sadly, so circular references still can't be supported.

@thijsmie
Copy link
Contributor

Thanks @willstott101 for comfirming this fixes your deadlock. I think we will fully change the listener to not call directly into python but to schedule async notifications via that Python C API I mentioned. That means the listener calls are fully decoupled between Python and C and you can also ignore calls on listeners that are already freed on the python side.

@thijsmie thijsmie merged commit ac538df into eclipse-cyclonedds:master Aug 25, 2022
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