Skip to content

adding gil_scoped_release to sensor open api methods - #10918

Merged
Nir-Az merged 1 commit into
realsenseai:developmentfrom
remibettan:python_wrapper_open_api_gil
Sep 20, 2022
Merged

adding gil_scoped_release to sensor open api methods#10918
Nir-Az merged 1 commit into
realsenseai:developmentfrom
remibettan:python_wrapper_open_api_gil

Conversation

@remibettan

@remibettan remibettan commented Sep 20, 2022

Copy link
Copy Markdown
Contributor

Since sensor.open() function is a process which takes time, we need to release the python GIL so that callbacks will still be received.
Tracked on LRS-519

@remibettan
remibettan requested a review from Nir-Az September 20, 2022 10:20

@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.

Great

@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.

LGTM

@Nir-Az
Nir-Az merged commit 4141372 into realsenseai:development Sep 20, 2022
@remibettan
remibettan deleted the python_wrapper_open_api_gil branch July 29, 2025 14:10
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