class Concurrent::MVar

def wait_for_empty(timeout)

def wait_for_empty(timeout)
  wait_while(@empty_condition, timeout) { unlocked_full? }
end