<commit_before>#include <thread>
#include "cproc.h"


void Cproc::run(Cimage & image)
{
    std::thread thr(&Cproc::mt_run, this, std::ref(image));
    thr.join();
}

void Cproc::mt_run(Cimage & image)<commit_msg>Issue #1: added sleep to Cproc run<commit_after>#include <thread>
#include <chrono>
#include "cproc.h"


void Cproc::run(Cimage & image)
{
    std::thread thr(&Cproc::mt_run, this, std::ref(image));
    std::this_thread::sleep_for(std::chrono::milliseconds(500));
    thr.join();
}

void Cproc::mt_run(Cimage & image)
{'fraction_non_alphanumeric': 0.18490566037735848, 'fraction_numerical': 0.007547169811320755, 'mean_word_length': 5.9868421052631575, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3163895', 'n_tokens_mistral': 208, 'n_tokens_neox': 203, 'n_words': 38}