Flowdock
mu_lock() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/mutex_m.rb, line 88
  def mu_lock
    while (Thread.critical = true; @mu_locked)
      @mu_waiting.push Thread.current
      Thread.stop
    end
    @mu_locked = true
    Thread.critical = false
    self
  end
Register or log in to add new notes.