Server IP : 66.29.132.122 / Your IP : 3.135.212.177 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/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: