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
Replace boost::reverse_lock with our own #6630
Conversation
ACK if Travis is happy. |
Travis is unhappy; I think I neglected to add the new file to the makefile. Fixing it now. |
ACK after minor nits. |
reverse_lock& operator=(reverse_lock const&); | ||
|
||
Lock& lock; | ||
//mutex_type* mutex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant commented line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
utACK, thanks for adding tests! |
ACK, works nicely on my OSX machine. |
86270c8 Replace boost::reverse_lock with our own. (Casey Rodarmor)
Great work @casey |
PostMerge ACK. |
See #6608 for discussion.
This removes boost::reverse_lock so that we don't depend on boost 1.50, and replaces it with our own implementation.
This implementation is stricter than boost::reverse_lock. Reverse locking an unlocked lock, and re-locking a lock while a reverse_lock is active are both errors.