Some multithreaded fixes, deadlocks due to List reads during adds

This commit is contained in:
Asriel Camora
2023-07-04 17:19:55 +02:00
parent 75306ca020
commit 4d96fd173f
8 changed files with 90 additions and 29 deletions
+3 -2
View File
@@ -45,10 +45,11 @@ internal static class Program
0
);
var threads = 1;
var config = new SolverConfig()
{
Iterations = 30_000 / 1,
ThreadCount = 1,
Iterations = 30_000 / threads,
ThreadCount = threads,
};
Debugger.Break();