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
Test passing control between two threads in the ConditionVariable spec #5866
This tests (J)Ruby's ability to safely switch back and forth between two threads that both have locks on a single mutex, as identified in #5863.
I'm happy to make changes to this spec if needed. In particular, I wasn't sure what a suitable timeout should be (went with 5 seconds), and also whether to add this to the spec for