static public Method

Mutex.new

Creates a new Mutex

Source Code

# File thread.rb, line 60
def initialize
  @waiting = []
  @locked = false;
  @waiting.taint              # enable tainted comunication
  self.taint
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.