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

Use RAII to handle mutexes #87

Merged
merged 2 commits into from
Aug 8, 2017
Merged

Use RAII to handle mutexes #87

merged 2 commits into from
Aug 8, 2017

Conversation

esteve
Copy link
Member

@esteve esteve commented Aug 3, 2017

This PR replaces explicit calls to lock/unlock with Boost's RAII routines to ensure that mutexes are always acquired/released after exiting their scopes.

Copy link
Member

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

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

thanks @esteve !

@esteve
Copy link
Member Author

esteve commented Aug 4, 2017

@mikaelarguedas thanks for the prompt review!

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