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
Investigate use of std::atomic_flag
instead of std::binary_semaphore
#42
Comments
Did a quick benchmark on quick-bench and it seems that |
I wrote a quick benchmark and ran it locally on windows and am getting inconsistent results. I think I will need to do a more proper test with
|
std::atomic_flag
is the only atomic primitive guaranteed to be lock free. It would be interesting to see if this has any positive impact on performance overstd::binary_semaphore
.The text was updated successfully, but these errors were encountered: