Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Avoid lock pessimisation #1284
Locks on a given mutex shouldn't cover notifications on conditional variables over the same mutex as it leads to pessimization.
One example is going from:
An alternative is to
referenced this issue
Dec 15, 2018
Added a pull request for this issue #1461. Tests are passing and everything looks normal.
This is something I want to add later unless someone has an issue with atomics in