class Concurrent::MutexCountDownLatch

def count_down

@!macro count_down_latch_method_count_down
def count_down
  synchronize do
    @count -= 1 if @count > 0
    ns_broadcast if @count == 0
  end
end