<commit_before># CountDownLatch
A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes

## Installation
    gem install countdownlatch

## Usage
```ruby
require 'countdownlatch'

latch = CountDownLatch.new 2<commit_msg>Add a build status indicator to the README<commit_after># CountDownLatch [ ![Build status](http://travis-ci.org/benlangfeld/countdownlatch.png) ](http://travis-ci.org/benlangfeld/countdownlatch)
A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes

## Installation
    gem install countdownlatch

## Usage
```ruby
require 'countdownlatch'

latch = CountDownLatch.new 2
{'fraction_non_alphanumeric': 0.0728744939271255, 'fraction_numerical': 0.002699055330634278, 'mean_word_length': 5.452173913043478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2511565', 'n_tokens_mistral': 219, 'n_tokens_neox': 206, 'n_words': 79}