<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <pthread.h>
#include "gameoflife.h"

void *ThreadLifeMain(void *worldContext)
{
	ThreadWorldContext_t *context = worldContext;

	printf("World dims are (%ld, %ld)\n", 
		context->front->width,
		context->front->height);

	unsigned long generations = 0;
	while (context->bRunning)
	{
      LifeGeneration(context->back, context->front);
      SwapThreadWorldContextPointers(context);
      generations = DoGensPerSec(generations);

      if (context->bRandomize)
      {
      	pthread_mutex_lock(&context->lock);
      	context->bRandomize = 0;
      	RandomizeWorldStateBinary(context);
      	pthread_mutex_unlock(&context->lock);
      }
	
	}

	return NULL;
}<commit_msg>Fixed indentation in threadlife.c and remove extraneous printf lines.<commit_after>#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <pthread.h>
#include "gameoflife.h"

void *ThreadLifeMain(void *worldContext)
{
	ThreadWorldContext_t *context = worldContext;

	unsigned long generations = 0;
	while (context->bRunning)
	{
    LifeGeneration(context->back, context->front);
    SwapThreadWorldContextPointers(context);
    generations = DoGensPerSec(generations);

    if (context->bRandomize)
    {
    	pthread_mutex_lock(&context->lock);
    	context->bRandomize = 0;
    	RandomizeWorldStateBinary(context);
    	pthread_mutex_unlock(&context->lock);
    }
	}
	return NULL;
}
{'fraction_non_alphanumeric': 0.12953020134228188, 'fraction_numerical': 0.0026845637583892616, 'mean_word_length': 4.344086021505376, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 31, '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': '290797', 'n_tokens_mistral': 507, 'n_tokens_neox': 486, 'n_words': 91}