class Concurrent::Synchronization::Condition

TODO (pitr-ch 04-Dec-2016): should be in edge
@!visibility private

def broadcast

def broadcast
  @Lock.synchronize { ns_broadcast }
end

def initialize(lock)

def initialize(lock)
  super()
  @Lock = lock
end

def ns_broadcast

def ns_broadcast
  synchronize { super }
end

def ns_signal

def ns_signal
  synchronize { super }
end

def ns_wait(timeout = nil)

def ns_wait(timeout = nil)
  synchronize { super(timeout) }
end

def ns_wait_until(timeout = nil, &condition)

def ns_wait_until(timeout = nil, &condition)
  synchronize { super(timeout, &condition) }
end

def signal

def signal
  @Lock.synchronize { ns_signal }
end

def wait(timeout = nil)

def wait(timeout = nil)
  @Lock.synchronize { ns_wait(timeout) }
end

def wait_until(timeout = nil, &condition)

def wait_until(timeout = nil, &condition)
  @Lock.synchronize { ns_wait_until(timeout, &condition) }
end