Disable threading on *nix for the time being

This commit is contained in:
Ginger Bill
2017-08-01 15:09:43 +01:00
parent 10cc9cf661
commit ba6ecf35cf
2 changed files with 72 additions and 2 deletions

View File

@@ -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 = {};