From 8fcfb3a33fe053ed2032d58ecc0b5d640c155931 Mon Sep 17 00:00:00 2001 From: enricotenuti Date: Sun, 29 Sep 2024 12:38:43 +0200 Subject: minor changes for PR --- src/solvers/h48/solve.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/solvers/h48/solve.h') diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h index 4a1e961..c2dce91 100644 --- a/src/solvers/h48/solve.h +++ b/src/solvers/h48/solve.h @@ -4,7 +4,7 @@ typedef struct { int8_t nmoves; int8_t depth; uint8_t moves[MAXLEN]; - int64_t *nsols; + _Atomic int64_t *nsols; int64_t maxsolutions; uint8_t h; uint8_t k; @@ -167,7 +167,7 @@ solve_h48( char *solutions ) { - int64_t nsols; + _Atomic int64_t nsols; dfsarg_solveh48_t arg; tableinfo_t info; -- cgit v1.3