aboutsummaryrefslogtreecommitdiff
path: root/src/steps.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-09 00:42:39 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-09 00:42:39 +0100
commit8acabe18cad69d7c7ed7a00ffef654abc3873a16 (patch)
tree3fd05d3f6fb9ce51644d27688c073a49f7df0c73 /src/steps.c
parent849edbb69700a9f7520e159d94333ef5b798685b (diff)
downloadnissy-8acabe18cad69d7c7ed7a00ffef654abc3873a16.tar.gz
nissy-8acabe18cad69d7c7ed7a00ffef654abc3873a16.zip
Multi-threaded pruning table generation - now it's actually fast :)
Diffstat (limited to 'src/steps.c')
-rw-r--r--src/steps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/steps.c b/src/steps.c
index 4646abd..abb2918 100644
--- a/src/steps.c
+++ b/src/steps.c
@@ -1143,10 +1143,10 @@ new_localinfo()
1143} 1143}
1144 1144
1145void 1145void
1146prepare_step(Step *step) 1146prepare_step(Step *step, int nthreads)
1147{ 1147{
1148 int i; 1148 int i;
1149 1149
1150 for (i = 0; i < step->ntables; i++) 1150 for (i = 0; i < step->ntables; i++)
1151 genptable(step->tables[i]); 1151 genptable(step->tables[i], nthreads);
1152} 1152}

Generated with cgit - Back to sebastiano.tronto.net