From ba6ecf35cf7480606b3eaa7bae823191e26584d4 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Tue, 1 Aug 2017 15:09:43 +0100 Subject: Disable threading on *nix for the time being --- src/parser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index 470bee3d0..fc4c40079 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -5090,7 +5090,8 @@ ParseFileError parse_files(Parser *p, String init_filename) { p->init_fullpath = init_fullpath; -#if USE_THREADED_PARSER + // IMPORTANT TODO(bill): Figure out why this doesn't work on *nix sometimes +#if USE_THREADED_PARSER && defined(GB_SYSTEM_WINDOWS) isize thread_count = gb_max(build_context.thread_count, 1); if (thread_count > 1) { Array worker_threads = {}; -- cgit v1.2.3