Ruby 4.0 リファレンスマニュアル

instance method MonitorMixin#mon_locked?

mon_locked? -> boolRuby 2.5.0 から[permalink][rdoc][edit]

モニターがロックされているときに true を返します。