From f683405c7e9e0d62a8ca90ba898af1c5e2786ebf Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 1 Mar 2026 16:49:10 +0100 Subject: C11 threads! --- src/solvers/h48/distribution_h48.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/solvers/h48/distribution_h48.h') diff --git a/src/solvers/h48/distribution_h48.h b/src/solvers/h48/distribution_h48.h index 6d50ae5..80c946e 100644 --- a/src/solvers/h48/distribution_h48.h +++ b/src/solvers/h48/distribution_h48.h @@ -4,11 +4,11 @@ needed for H48 because of the intertwined fallback table, and it is easier to have some duplication than to make these functions needlessly generic. */ -STATIC void *getdistribution_h48_runthread(void *); +STATIC wrapthread_return_t getdistribution_h48_runthread(void *); STATIC void getdistribution_h48(const unsigned char *, uint64_t [static INFO_DISTRIBUTION_LEN], const tableinfo_t [static 1]); -STATIC void * +STATIC wrapthread_return_t getdistribution_h48_runthread(void *arg) { getdistribution_data_t *data = (getdistribution_data_t *)arg; @@ -33,7 +33,7 @@ getdistribution_h48_runthread(void *arg) data->distr[(t & (m << (3*k))) >> (3*k)]--; } - return NULL; + return wrapthread_return_val; } STATIC void -- cgit v1.3