public Method

Mutex.locked?

Returns true if this lock is currently held by some thread.

Source Code

# File thread.rb, line 70
def locked?
  @locked
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.