<commit_before>/*
Family Name: Sarracini
Given Name: Ursula
Section: Z
Student Number: 211535432
CS Login: cse13208
*/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include <time.h>

#define TEN_MILLIS_IN_NANOS 10000000
/* to do:
 -init buffer -> set states to empty
 -functions to retrieve states of buffer
 -ALL the error handling
*/
// some global variables
volatile int nIN = 0;
volatile int nOUT = 0;
volatile int nWORK = 0; <commit_msg>locks on locks on locks<commit_after>/*
Family Name: Sarracini
Given Name: Ursula
Section: Z
Student Number: 211535432
CS Login: cse13208
*/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include <time.h>

#define TEN_MILLIS_IN_NANOS 10000000
/* to do:
 -finish in thread work
 -do out thread work 
 -ALL the error handling
 -test test test
*/
// some global variables
volatile int nIN = 0;
volatile int nOUT = 0;
volatile int nWORK = 0; 
{'fraction_non_alphanumeric': 0.1099899091826438, 'fraction_numerical': 0.050454086781029264, 'mean_word_length': 4.248677248677248, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '5024387', 'n_tokens_mistral': 406, 'n_tokens_neox': 351, 'n_words': 129}