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 in pipeline::wait_for_frames() #3666

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

landersson
Copy link
Contributor

This will prevent stalling all other threads executing python code while blocking in pipeline::wait_for_frames().

As long as pipeline::wait_for_frames() doesn't call any python callbacks or otherwise interacts with the python interpreter, I guess this should be possible to merge?

@dorodnic
Copy link
Contributor

dorodnic commented Apr 3, 2019

Hi @landersson
Thanks for the patch. This makes sense to me, @lramati please take a look as well

@dorodnic dorodnic added the python label Apr 3, 2019
@dorodnic dorodnic requested a review from lramati April 3, 2019 06:53
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@landersson , thank you for the contribution!

@ev-mp ev-mp merged commit a94d966 into IntelRealSense:master Apr 4, 2019
@landersson
Copy link
Contributor Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants