Merge branch 'master' into multithread-input2

This commit is contained in:
Eric Fischer
2015-12-22 14:10:21 -08:00
6 changed files with 30 additions and 1 deletions
+3
View File
@@ -71,6 +71,9 @@ void init_cpus() {
CPUS = 1;
}
// Round down to a power of 2
CPUS = 1 << (int) (log(CPUS) / log(2));
TEMP_FILES = 64;
struct rlimit rl;
if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {