From e68606ff95db6e31585706278b034250555bbe14 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 1 Mar 2026 16:26:58 +0000 Subject: C11 threads? --- src/solvers/h48/solve.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/solvers/h48/solve.h') diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h index 15ac6ea..19aaf79 100644 --- a/src/solvers/h48/solve.h +++ b/src/solvers/h48/solve.h @@ -638,7 +638,7 @@ solve_h48( } - wrapthread_mutex_init(&solutions_mutex, NULL); + wrapthread_mutex_init(&solutions_mutex); mtarg = (dfsarg_solve_h48_maketasks_t) { .cube = oc.cube, @@ -689,7 +689,7 @@ solve_h48( arg[i].target_depth = d; arg[i].thread_done = false; wrapthread_create( - &thread[i], NULL, solve_h48_runthread, &arg[i]); + &thread[i], solve_h48_runthread, &arg[i]); } /* Log solutions and handle pause / stop / resume */ @@ -718,7 +718,7 @@ solve_h48( } for (i = 0; i < threads; i++) - wrapthread_join(thread[i], NULL); + wrapthread_join(thread[i]); solve_h48_log_solutions(&sollist, lastused); lastused = sollist.used; -- cgit v1.3