-
Notifications
You must be signed in to change notification settings - Fork 93
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
Example on Threads in README results in deadlocks #152
Comments
I can't replicate this locally, but it might be that we should be using ReentrantLock over SpinLock. I've heard mentions that ReentrantLocks should basically always be used over SpinLocks since we added this functionality. @OkonSamuel can you try out #153 and see if that fixes it for you? |
@ianshmean Thanks. I'll check it out |
It now works. Thanks. |
Great, I'm going to re-open the issue so that it gets closed when that PR merges |
The following example from README results in hanging for
n>=70
using 4 ThreadsThe text was updated successfully, but these errors were encountered: