public Method

MonitorMixin.new_cond

FIXME: This isn’t documented in Nutshell.

Create a new condition variable for this monitor. This facilitates control of the monitor with #signal and #wait.

Source Code

# File monitor.rb, line 255
def new_cond
  return ConditionVariable.new(self)
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.