diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-18 20:31:34 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-18 20:31:34 +0100 |
| commit | 79e98b71d3f5b7da26fa2c0ae7ae25412f37c022 (patch) | |
| tree | 31ece5107d87cca329bb30afb59ad7c002107cbe /src/parser.hpp | |
| parent | a01c946c207ccfabd3636c8db8c54fd08f5f54f9 (diff) | |
Remove dead code, and add an extra mutex
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index 579ec5b79..bce451043 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -186,7 +186,6 @@ struct AstPackage { struct Parser { String init_fullpath; StringSet imported_files; // fullpath - StringMap<AstPackage *> package_map; // Key(package name) Array<AstPackage *> packages; Array<ImportedPackage> package_imports; isize file_to_process_count; @@ -195,6 +194,7 @@ struct Parser { BlockingMutex import_mutex; BlockingMutex file_add_mutex; BlockingMutex file_decl_mutex; + BlockingMutex packages_mutex; MPMCQueue<ParseFileError> file_error_queue; }; |