From: Randy McShandy Date: Sun, 19 May 2024 04:48:42 +0000 (-0500) Subject: Apparently that borked generation a lot lol. Also params tweak X-Git-Url: http://git.mcshandy.xyz/gitweb.cgi?a=commitdiff_plain;h=0b2760ee55a3e39b47d5eef52f52a833fdb098aa;p=barrow_crawler Apparently that borked generation a lot lol. Also params tweak --- diff --git a/src/platforms/platform_posix.c b/src/platforms/platform_posix.c index c089fe5..4383304 100644 --- a/src/platforms/platform_posix.c +++ b/src/platforms/platform_posix.c @@ -54,14 +54,7 @@ void* iterator(void* _arg) waiting_workers = 0; resource_generation_progress = ((float)warg->iterations/(float)warg->max_iterations); } - pthread_mutex_unlock(&mutex); - - if (should_quit == 1) - { - return _arg; - } - pthread_barrier_wait(&barrier); } diff --git a/src/structs.c b/src/structs.c index 0eadc4e..ae3eaa3 100644 --- a/src/structs.c +++ b/src/structs.c @@ -20,7 +20,7 @@ RD_Opts puffer = RD_Opts barrow = { .max_iterations = 1e4 * 1.0f, - .diff_a = 0.72f, + .diff_a = 0.75f, .diff_b = 0.3f, .feed = 0.055f, .kill = 0.062f,