![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Mutex_m/ |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: define_aliases - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::P body: "Extend an object and use it like a Mutex object:" - !ruby/struct:SM::Flow::VERB body: " require "mutex_m.rb"\n obj = Object.new\n obj.extend Mutex_m\n # ...\n" - !ruby/struct:SM::Flow::P body: "Or, include Mutex_m in a class to have its instances behave like a Mutex object:" - !ruby/struct:SM::Flow::VERB body: " class Foo\n include Mutex_m\n # ...\n end\n\n obj = Foo.new\n" constants: [] full_name: Mutex_m includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: mu_extended - !ruby/object:RI::MethodSummary name: mu_initialize - !ruby/object:RI::MethodSummary name: mu_lock - !ruby/object:RI::MethodSummary name: mu_locked? - !ruby/object:RI::MethodSummary name: mu_synchronize - !ruby/object:RI::MethodSummary name: mu_try_lock - !ruby/object:RI::MethodSummary name: mu_unlock name: Mutex_m superclass: