diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-08-01 15:09:43 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-08-01 15:09:43 +0100 |
| commit | ba6ecf35cf7480606b3eaa7bae823191e26584d4 (patch) | |
| tree | 83330f2ecc89f4c2315b6286361184cb8706d757 /src/parser.cpp | |
| parent | 10cc9cf6614c33072f26d0e1901ce2f8e5a2c91c (diff) | |
Disable threading on *nix for the time being
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<gbThread> worker_threads = {}; |