public Method

Mutex_m.mu_synchronize() { || ... }

locking

Source Code

# File mutex_m.rb, line 64
def mu_synchronize
  begin
    mu_lock
    yield
  ensure
    mu_unlock
  end
end
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.