Module

Mutex_m

Usage

Extend an object and use it like a Mutex object:

require "mutex_m.rb"
obj = Object.new
obj.extend Mutex_m

Or, include Mutex_m in a class to have its instances behave like a Mutex object:

class Foo
  include Mutex_m

end

obj = Foo.new
Public Methods
append_features
define_aliases
extend_object
mu_extended
mu_lock
mu_locked?
mu_synchronize locking
mu_try_lock
mu_unlock
new
Private Methods
mu_initialize
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.