private Method

MonitorMixin.mon_acquire(queue)

There's no documentation for this item.

Source Code

# File monitor.rb, line 282
def mon_acquire(queue)
  while @mon_owner && @mon_owner != Thread.current
    queue.push(Thread.current)
    Thread.stop
    Thread.critical = true
  end
  @mon_owner = Thread.current
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.