Parallelize parser on *nix

This commit is contained in:
gingerBill
2018-08-19 10:58:57 +01:00
parent 5643ea1ba2
commit e3f0ab7c3d

View File

@@ -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;