<asp_>
@headius, thanks for your work on #5863. I'll test this against the original code that alerted me to this issue & let you know how I go. I also have an open PR (#5866) which you may or may not wish to use - just rebased it to see if it passes now
<headius[m]>
oh nice I did not see that
<headius[m]>
this is basically the example you provided in test form?
<asp_>
yeah, I modified it to prevent it from hanging (hanging specs are bad)
<headius[m]>
it's properly using the mutex for the sleep now, with a bit of a tweak to allow JVM thread status to be translated to Ruby status
<headius[m]>
those fixes are merged in now
<asp_>
Yeah, sounds like letting the JVM take care of these tricky locking issues is a good way to go
<headius[m]>
it's doing a similar sequence to what I was doing before, but it's obviously sleeping against the proper lock
<headius[m]>
this is a great one to get in, thank you for chasing down the hanging example
<asp_>
Happy to be of service. Thank you for all your work on this most excellent project!
<asp_>
headius: looks good - my tests are now passing using a build of JRuby from master 👍️