So now that I added a patch for `lib/monitor.rb` I guess this should be assigned to Shugo Maeda (shugo) per https://bugs.ruby-lang.org/projects/ruby/wiki/MaintainersStdlib, could someone do that for me? Or should I make a new issue?jvdp (Jaap van der Plas)
Aha, it seems that killing the thread releases the mutex lock directly, while the counter is not decreased. Is this something `Monitor` should be able to deal with?jvdp (Jaap van der Plas)
I have found a case where Monitor sometimes does not release the lock on its mutex where it should, because the internal counter is increased by another thread than the one holding it. From the trace it seems that `Mutex#lock` succeeds w...jvdp (Jaap van der Plas)