Remove dead code, and add an extra mutex

This commit is contained in:
gingerBill
2021-08-18 20:31:34 +01:00
parent a01c946c20
commit 79e98b71d3
2 changed files with 6 additions and 18 deletions
+1 -1
View File
@@ -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;
};