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

Wrap render function in SWIG threads macro, to disable Python GIL #101

Closed
wants to merge 1 commit into from

Conversation

stephen322
Copy link

My attempt at issue #98 that I submitted -- a new wrapper function to disable Python GIL during rendering.
It-Works-For-Me...

This is so unrelated Python threads can run while ws2812 does its thing. I'm not trying to imply rpi_ws281x is thread-safe.

Not sure why the SWIG-generated files have different formatting than what was there.
I used "swig -python -threads".

@stephen322 stephen322 closed this Oct 4, 2023
@stephen322 stephen322 deleted the gil branch October 4, 2023 02:58
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.

1 participant