<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>

void funct();

void *soilMoisture(void *vargp)
{
     sleep(10);
     funct();
     return NULL;
}

int main()
{
     pthread_t pt;
     int k=1;
     pthread_create(&pt, NULL, soilMoisture, NULL);
     while(k>0)
     {
       printf("This is the main thread (Measuring the water leverl) : %d\n", k);
       sleep(1);
     }
     return 0;
}

void funct()
{
  printf("******(Measuring soil moisture after sleeping for 10SEC)***********\n");
  pthread_t ptk;
  pthread_create(&ptk, NULL, soilMoisture, NULL);
}<commit_msg>fixes of pthread_t<commit_after>#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>

// A normal C function that is executed as a thread when its name
// is specified in pthread_create()
void funct();

void *soilMoisture(void *vargp)
{
     int f=0;
     while(f==0){
     sleep(10);   
     funct();}
     return NULL;
}

int main()
{
     pthread_t pt;
     int k=1;
     pthread_create(&pt, NULL, soilMoisture, NULL);
     while(k>0)
     {
       printf("This is the main thread (Measuring the water leverl) : %d\n", k);
       sleep(1);
     }
     return 0;
}

void funct()
{
  printf("******(Measuring soil moisture after sleeping for 10SEC)***********\n");
}
{'fraction_non_alphanumeric': 0.1650943396226415, 'fraction_numerical': 0.014150943396226415, 'mean_word_length': 3.028481012658228, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '6897625', 'n_tokens_mistral': 487, 'n_tokens_neox': 473, 'n_words': 126}