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

camera: thread-safety fixes #699

Merged
merged 3 commits into from
Mar 20, 2019
Merged

camera: thread-safety fixes #699

merged 3 commits into from
Mar 20, 2019

Conversation

julianoes
Copy link
Collaborator

This tries to robustify the thread-safety of the camera plugin. Some of the callbacks and some shared data were not protected by mutexes.
Also, all callbacks are not called from the thread pool workers reducing the chances for deadlocks.

This work is in response to the stacktrace in #698.

JonasVautherin
JonasVautherin previously approved these changes Mar 18, 2019
Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

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

LGTM, but failing on appveyor 😕

This tries to robustify the thread-safety of the camera plugin. Some of
the callbacks and some shared data were not protected by mutexes.
Also, all callbacks are not called from the thread pool workers reducing
the chances for deadlocks.
@julianoes julianoes merged commit 5129d6d into develop Mar 20, 2019
@julianoes julianoes deleted the fix-camera-locks branch March 20, 2019 08:44
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