{"id":81452,"library":"countdownlatch","title":"CountDownLatch","description":"A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.","status":"active","version":"1.0.0","language":"ruby","source_language":null,"source_url":"https://github.com/benlangfeld/countdownlatch","tags":["concurrency","synchronization","threads"],"install":[{"cmd":"gem install countdownlatch","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'countdownlatch', '~> 1.0.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"CountDownLatch","correct":"require 'countdownlatch'"}],"quickstart":{"code":"require 'countdownlatch'\n\nlatch = CountDownLatch.new(3)\n\n3.times do\n  Thread.new do\n    # do work\n    latch.count_down\n  end\nend\n\nlatch.wait","lang":"ruby","description":"Use CountDownLatch to synchronize threads"},"warnings":[],"env_vars":null,"search_vec":"'aid':4 'allow':6 'complet':23 'concurr':24 'countdownlatch':1 'one':7 'oper':17 'perform':19 'set':15 'synchron':3,25 'thread':10,22,26 'wait':12","created_at":"2026-06-19T04:50:26.190092+00:00","updated_at":"2026-06-19T04:50:26.190092+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/benlangfeld/countdownlatch","github":"https://github.com/benlangfeld/countdownlatch","docs":"http://www.rubydoc.info/gems/countdownlatch/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}