mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-10 13:21:37 -07:00
Remove dead code, and add an extra mutex
This commit is contained in:
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user