Skip to content

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 February 21, 2019 08:21
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