aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-08-19 10:58:57 +0100
committergingerBill <bill@gingerbill.org>2018-08-19 10:58:57 +0100
commite3f0ab7c3dd6ce25b6d29f2df75feb14ac0c1bdf (patch)
treefec50edbd063ca9567bc8851ebb04d65fc9e26b7
parent5643ea1ba2d9309fdf55a2f9797ff0f29f0713c8 (diff)
Parallelize parser on *nix
-rw-r--r--src/parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index cce1729c1..b160082ae 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -4426,8 +4426,7 @@ ParseFileError parse_packages(Parser *p, String init_filename) {
try_add_import_path(p, init_fullpath, init_fullpath, init_pos, Package_Init);
p->init_fullpath = init_fullpath;
- // IMPORTANT TODO(bill): Figure out why this doesn't work on *nix sometimes
-#if 1 && defined(GB_SYSTEM_WINDOWS)
+#if 1
isize thread_count = gb_max(build_context.thread_count, 1);
if (thread_count > 1) {
isize volatile curr_import_index = 0;