Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix mutex specs race condition on mt #8643
In https://circleci.com/gh/crystal-lang/crystal/36001 I experienced a race condition introduced in #8563 .
After this changes the loop will not only wait for the mutex to be assigned but for the lock to occur.