<commit_before>![Gilt Tech logo](https://raw.githubusercontent.com/gilt/Cleanroom/master/Assets/gilt-tech-logo.png)

# CleanroomConcurrency

CleanroomConcurrency provides utilities for simplifying asynchronous code execution and coordinating concurrent access to shared resources.

CleanroomConcurrency is part of [the Cleanroom Project](https://github.com/gilt/Cleanroom) from [Gilt Tech](http://tech.gilt.com).


### Swift compatibility

The [`master`](https://github.com/emaloney/CleanroomConcurrency) branch of this project is **Swift 2.2 compliant** and therefore **requires Xcode 7.3 or higher** to compile.

2 other branches are also available:

 - The [`swift2.3`](https://github.com/emaloney/CleanroomConcurrency/tree/swift2.3) branch uses **Swift 2.3**, requiring Xcode 8.0
 - The [`swift3`](https://github.com/emaloney/CleanroomConcurrency/tree/swift3) branch uses **Swift 3.0**, requiring Xcode 8.0


#### Current status

Branch|Build status
--------|------------------------
`master`|[![Build status: master branch](https://travis-ci.org/emaloney/CleanroomConcurrency.svg?branch=master)](https://travis-ci.org/emaloney/CleanroomConcurrency)
`swift2.3`|[![Build status: swift2.3 branch](https://travis-ci.org/emaloney/CleanroomConcurrency.svg?branch=swift2.3)](https://travis-ci.org/emaloney/CleanroomConcurrency)
`swift3`|[![Build status: swift3 branch](https://travis-ci.org/emaloney/CleanroomConcurrency.svg?branch=swift3)](https://travis-ci.org/emaloney/CleanroomConcurrency)


### License

CleanroomConcurrency is distributed under [the MIT license](/blob/master/LICENSE).

CleanroomConcurrency is provided for your use—free-of-charge—on an as-is basis. We make no guarantees, promises or apologies. *Caveat developer.*


### Adding CleanroomConcurrency to your project

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

You’ll need to [integrate CleanroomConcurrency into your project](https://github.com/emaloney/CleanroomConcurrency/blob/master/INTEGRATION.md) in order to use [the API](https://rawgit.com/emaloney/CleanroomConcurrency/master/Documentation/API/index.html) it provides. You can choose:

- [Manual integration](https://github.com/emaloney/CleanroomConcurrency/blob/master/INTEGRATION.md#manual-integration), wherein you embed CleanroomConcurrency’s Xcode project within your own, **_or_**
- [Using the Carthage dependency manager](https://github.com/emaloney/CleanroomConcurrency/blob/master/INTEGRATION.md#carthage-integration) to build a framework that you then embed in your application.

Once integrated, just add the following `import` statement to any Swift file where you want to use CleanroomConcurrency:

```swift
import CleanroomConcurrency
```

## Using CleanroomConcurrency

CleanroomConcurrency provides:
<commit_msg>add links to branch name for build status matrix<commit_after>![Gilt Tech logo](https://raw.githubusercontent.com/gilt/Cleanroom/master/Assets/gilt-tech-logo.png)

# CleanroomConcurrency

CleanroomConcurrency provides utilities for simplifying asynchronous code execution and coordinating concurrent access to shared resources.

CleanroomConcurrency is part of [the Cleanroom Project](https://github.com/gilt/Cleanroom) from [Gilt Tech](http://tech.gilt.com).


### Swift compatibility

The [`master`](https://github.com/emaloney/CleanroomConcurrency) branch of this project is **Swift 2.2 compliant** and therefore **requires Xcode 7.3 or higher** to compile.

2 other branches are also available:

 - The [`swift2.3`](https://github.com/emaloney/CleanroomConcurrency/tree/swift2.3) branch uses **Swift 2.3**, requiring Xcode 8.0
 - The [`swift3`](https://github.com/emaloney/CleanroomConcurrency/tree/swift3) branch uses **Swift 3.0**, requiring Xcode 8.0


#### Current status

Branch|Build status
--------|------------------------
[`master`](https://github.com/emaloney/CleanroomConcurrency)|[![Build status: master branch](https://travis-ci.org/emaloney/CleanroomConcurrency.svg?branch=master)](https://travis-ci.org/emaloney/CleanroomConcurrency)
[`swift2.3`](https://github.com/emaloney/CleanroomConcurrency/tree/swift2.3)|[![Build status: swift2.3 branch](https://travis-ci.org/emaloney/CleanroomConcurrency.svg?branch=swift2.3)](https://travis-ci.org/emaloney/CleanroomConcurrency)
[`swift3`](https://github.com/emaloney/CleanroomConcurrency/tree/swift3)|[![Build status: swift3 branch](https://travis-ci.org/emaloney/CleanroomConcurrency.svg?branch=swift3)](https://travis-ci.org/emaloney/CleanroomConcurrency)


### License

CleanroomConcurrency is distributed under [the MIT license](/blob/master/LICENSE).

CleanroomConcurrency is provided for your use—free-of-charge—on an as-is basis. We make no guarantees, promises or apologies. *Caveat developer.*


### Adding CleanroomConcurrency to your project

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

You’ll need to [integrate CleanroomConcurrency into your project](https://github.com/emaloney/CleanroomConcurrency/blob/master/INTEGRATION.md) in order to use [the API](https://rawgit.com/emaloney/CleanroomConcurrency/master/Documentation/API/index.html) it provides. You can choose:

- [Manual integration](https://github.com/emaloney/CleanroomConcurrency/blob/master/INTEGRATION.md#manual-integration), wherein you embed CleanroomConcurrency’s Xcode project within your own, **_or_**
- [Using the Carthage dependency manager](https://github.com/emaloney/CleanroomConcurrency/blob/master/INTEGRATION.md#carthage-integration) to build a framework that you then embed in your application.

Once integrated, just add the following `import` statement to any Swift file where you want to use CleanroomConcurrency:

```swift
import CleanroomConcurrency
```

## Using CleanroomConcurrency

CleanroomConcurrency provides:

{'fraction_non_alphanumeric': 0.13634059807399898, 'fraction_numerical': 0.010981584727149857, 'mean_word_length': 5.7044167610419025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 37, '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': '4241581', 'n_tokens_mistral': 1837, 'n_tokens_neox': 1760, 'n_words': 398}