mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-13 12:36:36 -04:00
Disable threading on *nix for the time being
This commit is contained in:
1 parent
10cc9cf661
commit
ba6ecf35cf
2 files changed
+72
-2
No files matched your search
+2
-1
@@ -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 = {};
|
||||
|
||||
Reference in new issue
Block a user