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

cash_input_common: Properly close threads #9

Merged
merged 1 commit into from Feb 21, 2019

Conversation

ix5
Copy link
Contributor

@ix5 ix5 commented Jan 30, 2019

When switching camera modes, the following behaviour can occur:
Not waiting for a thread to exit but immediately reassigning the pointer to another thread can result in zombie processes that interfere with the reading operations.

Use pthread_join() to let cashsvr wait until the tof/rgbc thread has exited.

When switching camera modes, the following behaviour can occur:
Not waiting for a thread to exit but immediately reassigning the pointer
to another thread can result in zombie processes that interfere with the
reading operations.

Use pthread_join() to let cashsvr wait until the tof/rgbc thread has
exited.
@jerpelea jerpelea merged commit 74653d6 into sonyxperiadev:master Feb 21, 2019
@ix5 ix5 deleted the thread-join branch Feb 21, 2019
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.

None yet

2 participants