<commit_before># STL-Threadsafe

A threadsafe implementation of Queue, Stack and Priority Queue.

```c++

void consumer(std::threadsafe::queue<double> &tasks){

	double operation;
	
	tasks.wait_pop(operation);
	while (operation != EXIT){
		double sqrt = std::sqrt(operation);
		printResult(sqrt);
		tasks.wait_pop(operation);
	}
}

void producer(std::threadsafe::queue<double> &tasks){

	for (int i = 1;i < 10;i++)
		tasks.push(i*i);
	
	tasks.push(EXIT);
}
```

The next operations are supported:
<commit_msg>Removed endline in readme.md<commit_after># STL-Threadsafe

A threadsafe implementation of Queue, Stack and Priority Queue.

```c++

void consumer(std::threadsafe::queue<double> &tasks){
	double operation;
	
	tasks.wait_pop(operation);
	while (operation != EXIT){
		double sqrt = std::sqrt(operation);
		printResult(sqrt);
		tasks.wait_pop(operation);
	}
}

void producer(std::threadsafe::queue<double> &tasks){
	for (int i = 1;i < 10;i++)
		tasks.push(i*i);
	
	tasks.push(EXIT);
}
```

The next operations are supported:

{'fraction_non_alphanumeric': 0.1542192046556741, 'fraction_numerical': 0.005819592628516004, 'mean_word_length': 5.331288343558282, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '2507614', 'n_tokens_mistral': 385, 'n_tokens_neox': 354, 'n_words': 85}