Current Path : /usr/local/share/ri/1.8/system/Mutex_m/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Mutex_m/cdesc-Mutex_m.yaml |
--- !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: