aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48/distribution_h48.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-03-01 16:26:58 +0000
committerSebastiano Tronto <sebastiano@tronto.net>2026-03-01 16:26:58 +0000
commite68606ff95db6e31585706278b034250555bbe14 (patch)
treeeae492e7fc24cca2c051a2e75de996555ae1b19f /src/solvers/h48/distribution_h48.h
parentdff3a040637f2985b5b5e369148a993183964096 (diff)
downloadnissy-core-e68606ff95db6e31585706278b034250555bbe14.tar.gz
nissy-core-e68606ff95db6e31585706278b034250555bbe14.zip
C11 threads?
Diffstat (limited to 'src/solvers/h48/distribution_h48.h')
-rw-r--r--src/solvers/h48/distribution_h48.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/solvers/h48/distribution_h48.h b/src/solvers/h48/distribution_h48.h
index 93a6933..6d50ae5 100644
--- a/src/solvers/h48/distribution_h48.h
+++ b/src/solvers/h48/distribution_h48.h
@@ -58,12 +58,12 @@ getdistribution_h48(
58 .distr = local_distr[i], 58 .distr = local_distr[i],
59 .table = table, 59 .table = table,
60 }; 60 };
61 wrapthread_create(&thread[i], NULL, 61 wrapthread_create(&thread[i],
62 getdistribution_h48_runthread, &targ[i]); 62 getdistribution_h48_runthread, &targ[i]);
63 } 63 }
64 64
65 for (i = 0; i < THREADS; i++) 65 for (i = 0; i < THREADS; i++)
66 wrapthread_join(thread[i], NULL); 66 wrapthread_join(thread[i]);
67 67
68 memset(distr, 0, INFO_DISTRIBUTION_LEN * sizeof(uint64_t)); 68 memset(distr, 0, INFO_DISTRIBUTION_LEN * sizeof(uint64_t));
69 for (i = 0; i < THREADS; i++) 69 for (i = 0; i < THREADS; i++)

Generated with cgit - Back to sebastiano.tronto.net