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

Syncer mutex to fix single_consumer_queue::peek() issues #9309

Merged
merged 4 commits into from
Jul 1, 2021

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Jun 29, 2021

And revised peek() mechanism, too...

Tracked on [LRS-162]

* add mutex to syncer_process_unit::stop()
@maloel maloel requested a review from Nir-Az June 29, 2021 09:16
src/sync.cpp Show resolved Hide resolved
Nir-Az
Nir-Az approved these changes Jun 30, 2021
Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

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

Check about the !

Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

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

LGTM

@maloel maloel changed the title Rework single_consumer_queue::peek() to be more thread-safe Syncer mutex to fix single_consumer_queue::peek() issues Jul 1, 2021
@maloel maloel merged commit 8cdfb20 into IntelRealSense:development Jul 1, 2021
@maloel maloel deleted the peek branch December 22, 2021 07:37
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