Skip to content

fix GIL locks in calibrated_sensor APIs which can cause frame drops - #7076

Merged
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:dev3
Aug 11, 2020
Merged

fix GIL locks in calibrated_sensor APIs which can cause frame drops#7076
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:dev3

Conversation

@maloel

@maloel maloel commented Aug 10, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@maloel
maloel requested review from Nir-Az and ev-mp August 10, 2020 08:01

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks OK, note that there is some forums comments about the CPU usage when adding this code.
https://discuss.pytorch.org/t/releasing-gil-in-c-extension/19464

It worth testing it.

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@maloel
maloel merged commit 91e9429 into realsenseai:development Aug 11, 2020
maloel added a commit that referenced this pull request Aug 11, 2020
… cause frame drops

(cherry picked from commit 91e9429)
@maloel
maloel deleted the dev3 branch March 25, 2021 14:25
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.

3 participants