Server IP : 68.65.120.251 / Your IP : 3.17.176.160 [ Web Server : LiteSpeed System : Linux server105.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : travtpib ( 6521) PHP Version : 7.4.33 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/Mutex_m/ |
Upload File : |
--- !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: