diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-12-25 10:30:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-12-25 10:30:40 +0900 |
commit | e46314edd11d6807b603498150e0785c87d5d3a5 () | |
tree | f10b8085cdca5420911e432394a186897989896b /ext/monitor/lib | |
parent | c194357c082b6c48956df136b8f936a70db747a1 (diff) |
[DOC] Monitor
Notes: Merged: https://.com/ruby/ruby/pull/12460
-rw-r--r-- | ext/monitor/lib/monitor.rb | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -143,13 +143,13 @@ module MonitorMixin private - def initialize(monitor) @monitor = monitor @cond = Thread::ConditionVariable.new end end - def self.extend_object(obj) super(obj) obj.__send__(:mon_initialize) end @@ -254,6 +254,10 @@ end # end # class Monitor def new_cond ::MonitorMixin::ConditionVariable.new(self) end |