<commit_before>/* ********************************
 * Author:       <NAME>
 * License:	     MIT
 * Description:  Library providing a threading pool where you can add
 *               work. For usage, check the thpool.h file or README.md
 *
 *//** @file thpool.h *//*
 *
 ********************************/

#define _POSIX_C_SOURCE 200809L
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <errno.h>
#include <time.h> 
#include <ndebug.h>

#ifdef EX_OS_LINUX
#include <sys/prctl.h>
#endif

#include "thpool.h"
<commit_msg>Fixes for thpool<commit_after>/* ********************************
 * Author:       <NAME>
 * License:	     MIT
 * Description:  Library providing a threading pool where you can add
 *               work. For usage, check the thpool.h file or README.md
 *
 *//** @file thpool.h *//*
 *
 ********************************/

/* #define _POSIX_C_SOURCE 200809L */
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <errno.h>
#include <time.h> 
#include <ndebug.h>

#ifdef EX_OS_LINUX
#include <sys/prctl.h>
#endif

#include "thpool.h"

{'fraction_non_alphanumeric': 0.24335904027420738, 'fraction_numerical': 0.010282776349614395, 'mean_word_length': 3.6907630522088355, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '5130071', 'n_tokens_mistral': 427, 'n_tokens_neox': 406, 'n_words': 106}