mcexec: enable the same number of threads as CPU cores

This commit is contained in:
Balazs Gerofi
2016-11-24 16:40:52 +09:00
parent 8c56c75d2c
commit d07a196c8e

View File

@@ -1550,10 +1550,7 @@ int main(int argc, char **argv)
return 1;
}
n_threads = ncpu;
if (ncpu > 16) {
n_threads = 16;
}
n_threads = ncpu + 1;
/*
* XXX: keep thread_data ncpu sized despite that there are only